EasyUI Forum
May 19, 2024, 05:53:52 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: linkbutton toggle  (Read 3950 times)
prancius
Newbie
*
Posts: 11


View Profile Email
« 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
Logged
hatux7
Newbie
*
Posts: 7


View Profile Email
« Reply #1 on: March 03, 2017, 03:17:29 PM »

The 'uncheck' method doesn't exist for the linkbutton, use:

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

Logged
prancius
Newbie
*
Posts: 11


View Profile Email
« Reply #2 on: March 04, 2017, 02:28:02 AM »

Thanks it is working.
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!