EasyUI Forum
April 29, 2024, 11:22:39 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: easyui "form" clear problem  (Read 13304 times)
mars610
Newbie
*
Posts: 13


View Profile Email
« on: October 21, 2011, 10:35:09 AM »

Hi,
   I recently used easyui form of usage, use the clear method, found that after emptying the form data elements which can not be re-set the properties。for example:
<script type="text/javascript">
   $('#ff').form('clear');
  $('#bb').attr('checked',true);
</script>

html:
   <form id="ff">
      <input id="bb" type="checkbox" value="0">
   </form>

I found $('#bb').attr('checked',true);  is not work. The checkbox is not checked and  when I using the "iButton" plug, if  use  "clear" method, iButton effect in Firefox would fail. That is, can not choose
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!