Is there a way in JavaScript to call a function without parentheses?
For example in jQuery:
$(\'#wrap\').text(\"asdf\"); will work and so will <
$(\'#wrap\').text(\"asdf\");
You can make a function reference, but you won't be able to pass arguments:
function funky() { alert("Get down with it"); } obj.onclick = funky;