Changes

Jump to: navigation, search

Embedding JavaScript into Web pages

32 bytes added, 14:42, 19 March 2009
The <script> element
</pre>
<google>ADSDAQBOX_FLOW</google>
The above example instructs the browser to load the JavaScript from the ''myjscript.js'' file located on the /j-scripts sub-directory of the local web server. It is possible to specify any valid URL here so this could be a file located on any accessible web server if required. Note that the script contained in the external ''.js'' file does not require the ''<script>'' and </script> elements.

Navigation menu