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
I eventually solved this by selecting the already toggled list of elements.
I then call a .click on it.
Which seems like a bit of a workaround, but since I can’t trigger the state of toggle. I settled for this.