Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 10426

JavaScript is a versatile, high-level programming language. It is the programming language in all browsers.and can be used for back-end programming with node.js. Use this tag for questions regarding vanilla JavaScript; optionally tagged with an ECMAScript version. If you are using a preprocessor such as TypeScript please tag with that too.

6 votes
1 answer
941 views

Loading JavaScript libraries with PHP API

$modified_hash.'.js',$packed_script)){ $errors[] = 'There was an error loading the javascript libraries'; } } } // Set the content header to javascript // and write the packed … script or errors header("Content-Type: text/javascript"); if(empty($errors)){ echo $packed_script; }else{ // Loop through the errors and write them to the // javascript console foreach( …
Ben Carey's user avatar
  • 189
2 votes
1 answer
136 views

JavaScript API that loads and houses libraries of code

I have written a JavaScript API that loads and houses libraries of code to do all sorts of things on websites. Effectively, this is (will be) the base JavaScript for all the websites I build. … However, you can also run functions like this: SM.bar() Effectively this just mimics the way you can do this in jQuery: $('#test').show() $.ajax(options) /** * Sine Macula Javascript API * The …
Ben Carey's user avatar
  • 189