Jquery onclick change value
Posted
by user342391
on Stack Overflow
See other posts from Stack Overflow
or by user342391
Published on 2010-05-30T10:52:15Z
Indexed on
2010/05/30
11:02 UTC
Read the original article
Hit count: 568
I have some jquery tabs on my page the code for them is:
//tabs options
$("#tabs").tabs({ collapsible: true, selected: -1 });
I want to create a button that will toggle the above option 'selected: -1'
I need it to change the value of 'selected' to '0' then back to '-1'
How would I do this?
<a href="#">Toggle View</a>
© Stack Overflow or respective owner