I'm trying to make an infinite loop in jQuery. I understood the basic syntax was
$(document).ready(function(){
function helloworld() {
alert("hello, world!");
helloworld();
}
});
... but this does nothing. How would I do this? Thanks!
I'm trying to make an infinite loop in jQuery. I understood the basic syntax was
$(document).ready(function(){
function helloworld() {
alert("hello, world!");
helloworld();
}
});
... but this does nothing. How would I do this? Thanks!
$(document).ready(function(){
function helloworld() {
alert("hello, world!");
helloworld();
}
helloworld();
});