EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: prancius on March 03, 2017, 01:11:24 PM



Title: linkbutton toggle
Post by: prancius on March 03, 2017, 01:11:24 PM
Hi,

https://www.jeasyui.com/demo/main/index.php?plugin=LinkButton&theme=default&dir=ltr&pitem=

How to make such button selected: false?

$('#sb').linkbutton('uncheck');  got js error.

Thank you


Title: Re: linkbutton toggle
Post by: hatux7 on March 03, 2017, 03:17:29 PM
The 'uncheck' method doesn't exist for the linkbutton, use:

Code:
$('#sb').linkbutton('unselect');



Title: Re: linkbutton toggle
Post by: prancius on March 04, 2017, 02:28:02 AM
Thanks it is working.