I have the following inline code that I would like to move to my js file ...
$("input.checkbox").live('click',function(doStuff){my code})
I have tried various ways but no luck, my function just does nothing when I move it to my .js file. When it's inline in works perfectly. I am quite new at all of this so be gentle.