EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: patana on February 26, 2014, 12:45:35 AM



Title: Prevent click on the same linkbutton in group
Post by: patana on February 26, 2014, 12:45:35 AM
Suppose i have 3 linkbuttons[btn1, btn2, btn3] in group.
Now i click on btn1, so it will toggle.
The question is, after the btn1 toggle, how can i disable click event on btn1?



Title: Re: Prevent click on the same linkbutton in group
Post by: Andy1980 on March 07, 2014, 03:18:21 AM
hi,

just diable your botton isnide your click event:

$('#btn').linkbutton('disable');