see this fiddle:
http://jsfiddle.net/c2xjmxqd/it will explain everything
i am trying to get linkbutton toggle state..
i see there are no 'isSelected' method in documentation. so i try to use linkbutton ('options')['selected']
but it goes not match with the condition (reversed)
How to get rid of this? i know i can put "!" in condition but it absolutely wrong right?
Thank you in advance