$(function(){
// ...
}); $('svg').ready(function(){
// ...
}); alert('Hello World');
<script><![CDATA[
$(function(){
$.include('scripts/hello.js');
});
]]></script>
$('svg').add($.textArea({
left: 240,
top: 60,
width: 800,
height: 600,
frame: { frameColor: 'white', frameSize: 2 },
fill: '#ff0000',
fontSize: 120
}).text( 'Hello World!' ));
<script><![CDATA[
$(function(){
$.include('scripts/hello.js');
});
]]></script> <script xlink:href="scripts/hello.js"/> $('#hello').text('Hello World!'); $(function(){
$('#hello').ready(function(){
$('#hello').text('Hello World!');
});
}); $(function(){
$('#hello').text('Hello World!');
});