Newby here...
// I have a static div block.
// I want to call a JS function when the block is clicked..
//JS
myJSfunction...
//JQuery
$(document).ready(function(){ <-- added
$('#imyStaticBlock').click(function(){
myJSfunction();
});
}); <-- added
<div ID="myStaticBlock">CLICK</div>
Who can set me straight on this?
Thanks