網(wǎng)(LieHuo.Net)教程 jQuery實(shí)現(xiàn)checkBox全選全取消功能,請(qǐng)看下面的例子:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head><title>jQuery實(shí)現(xiàn)checkbox全選全取消 - liehuo.net</title></head><body><div><input id="Checkbox1" type="checkbox" onclick="selectAll(this);" />全選</div><div id="boxes"><input id="Checkbox2" type="checkbox" />001<br /><input id="Checkbox3" type="checkbox" />001<br /><input id="Checkbox4" type="checkbox" />001<br /></div></body></html><br /><center>如不能顯示效果,請(qǐng)按Ctrl+F5刷新本頁,更多網(wǎng)頁代碼:<a href='http://www.jyygyx.com/' title="liehuo.net" target='_blank'>http://www.jyygyx.com/</a></center>提示:可修改后代碼再運(yùn)行!
上一篇 如何在phpMyAdmin中執(zhí)行sql語句?
下一篇 論策:如何把采集變?yōu)樵瓌?chuàng) 教你7個(gè)方法
程序員人生,我編程,我富裕,記住wfuyu網(wǎng),php教程,php學(xué)習(xí),php手冊(cè),CMS模版制作
聲明:本站大部分內(nèi)容是作者原創(chuàng),少部分收集于互聯(lián)網(wǎng)供大家一起學(xué)習(xí),原版權(quán)很多不明,如有侵權(quán)請(qǐng)聯(lián)系本站,謝謝!
粵ICP備14040726號(hào)-1?? 2015-2020 程序員人生 版權(quán)所有