>sometimes when i hit back on my browser, a checkbox that was checked >is still checked. so id like to write a small script that unchecks >them all on pageload. not sure if there is a function in jquery that >can do this? > >so far i have the following non-jquery code but it doesnt work. can >some one think of a working version that uses jquery's oh so lovely >syntax? the id of my checkbox is #editImgs > >$(document).ready(function() >{ > $("#editImgs").checked = false; >});
$(document).ready(function(){ $("input:checkbox:checked").attr("checked", ""); }); -Dan