Title: automatic Data Binding on form does not support radio ? Post by: wwjjkk on July 06, 2011, 09:19:29 PM the following is my test.When click the link named "Load",the radio does not checked.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>jQuery EasyUI</title> <link rel="stylesheet" type="text/css" href="../themes/default/easyui.css"> <script type="text/javascript" src="../jquery-1.4.4.min.js"></script> <script type="text/javascript" src="../jquery.easyui.min.js"></script> <script type="text/javascript"> function loaddata(){ $('#ff').form('load',{ sex1:'2', sex2:'1' }); } </script> </head> <body> <h1>Form Demo</h1> <div> <a href="#" onclick="loaddata()">Load</a> </div> <div style="background:#fafafa;padding:10px;width:300px;height:300px;"> <form id="ff" method="post"> <div> sex1 <select name="sex1" style="width:80px"> <option value="1">man</option> <option value="2">women</option> </select> </div> <div> sex2 <INPUT type="radio" name="sex2">man <INPUT type="radio" name="sex2">women </div> </form> </div> </body> </html> Title: Re: automatic Data Binding on form does not support radio ? Post by: stworthy on July 07, 2011, 12:00:21 AM This feature will be supported in version 1.2.4. You can also download the updated form plugin from http://www.jeasyui.com/easyui/plugins/jquery.form.js.
Title: Re: automatic Data Binding on form does not support radio ? Post by: wwjjkk on July 07, 2011, 12:26:15 AM when will the next version be Released ?
|