EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
October 10, 2024, 11:06:59 PM
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
>
EasyUI for jQuery
>
How to get a CheckBox's checked/unchecked status?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to get a CheckBox's checked/unchecked status? (Read 5980 times)
kingor2001
Jr. Member
Posts: 61
How to get a CheckBox's checked/unchecked status?
«
on:
June 26, 2019, 06:00:17 AM »
How to get a CheckBox's checked/unchecked status?
CheckBox need a method which can get the CheckBox's checked/unchecked status.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: How to get a CheckBox's checked/unchecked status?
«
Reply #1 on:
June 27, 2019, 07:24:47 AM »
Call the 'options' method to get this property.
Code:
var opts = $('#cb').checkbox('options');
console.log(opts.checked);
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...