so I have few check boxs line up with some JQuery event/logic when user click on it.
however, when the page load I have a trigger Jquery event, which makes one of the check box by ID
$("#ro0").trigger('click');
and It checked the box but I also want is (it will execute the jquery behind #ro0)
$('input[type=checkbox][name=Main]').click(function(){ alert('thanks you for taking ur time to answering my question! :) '); }
Aucun commentaire:
Enregistrer un commentaire