EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
April 27, 2024, 02:13:29 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
Bug Report
>
about load checkbox data in "form plugin"
Pages: [
1
]
« previous
next »
Print
Author
Topic: about load checkbox data in "form plugin" (Read 10861 times)
gasoline
Newbie
Posts: 3
about load checkbox data in "form plugin"
«
on:
February 19, 2013, 09:21:32 AM »
$('#id').form('load',data); when checkbox, err
----------------------------------------------
Fix eg:
-------------------------
if(f.val()==String(val)){
$.fn.prop?f.prop("checked",true):f.attr("checked",true);
}
-------------------------
to
-------------------------
if(f.val()==String(val)
|| $.inArray(f.val(),val)>=0
){
$.fn.prop?f.prop("checked",true):f.attr("checked",true);
}
-------------------------
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: about load checkbox data in "form plugin"
«
Reply #1 on:
February 20, 2013, 07:17:40 PM »
This issue has been fixed, please download the updated form plugin from
http://www.jeasyui.com/easyui/plugins/jquery.form.js
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...