阅读背景:

PHP JQuery Checkbox - 如果预先选中复选框,则在取消选中时不会删除'checked'属性

来源:互联网 

Having trouble with checkboxes that are being pre-checked (when fetching record from mysql). So I am trying to create a way for users to edit a record in the database. One of the items on the form is a checkbox. I check to see if the record being edited has this feature, if it does I check the box. When I attempt to uncheck it, then use jquery/ajax to submit the form and update, it still sees the box as checked. Using firebug, I noticed that when I uncheck and check the box, it never removes the attribute checked='checked'. Any ideas??Having trouble with checkboxes that are being p




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: