Changes

Jump to: navigation, search

Embedding JavaScript into Web pages

9 bytes added, 19:59, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<googlehtmlet>BUY_JAVASCRIPTjscript</googlehtmlet>
</pre>
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
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.
<googlehtmlet>BUY_JAVASCRIPT_BOTTOMjscript</googlehtmlet>
 
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">

Navigation menu