Revision: 28517
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 9, 2010 01:32 by kwanhon
Initial Code
function onClickCb(){ if($('#cb').is(':checked')){ $("#div1").show(); }else{ $("#div1").hide(); } } onClickCb(); $("#cb").click(onClickCb);
Initial URL
http://api.jquery.com/checked-selector/
Initial Description
Initial Title
Check Checkbox State
Initial Tags
Initial Language
jQuery