I need to unset the state of the jQuery .toggle(odd,even)

Posted by Forkrul Assail on Stack Overflow See other posts from Stack Overflow or by Forkrul Assail
Published on 2010-06-15T07:14:53Z Indexed on 2010/06/15 7:32 UTC
Read the original article Hit count: 279

Filed under:
|
|

Hi

I have items in a table cell that gets toggled on and off.

An external button accepts a click and submits the selected cell values via ajax.

The problem is that I want to reset the toggle state for the selected cells.

I can easily unset the highlighting, but then need a double click to trigger the correct toggle.

Can the .toggle(odd, even) be reset or cycled via an external call?

Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about api