Include a file: Difference between revisions

Content added Content deleted
Line 227: Line 227:
s.src = 'http://code.jquery.com/jquery-1.6.2.js';
s.src = 'http://code.jquery.com/jquery-1.6.2.js';
document.body.appendChild(s);</lang>
document.body.appendChild(s);</lang>
Most be noted that it can also request [[HTTP]] source and eval() the source
===With jQuery===
===With jQuery===
{{libheader|jQuery}}
{{libheader|jQuery}}