I have an id of the form id = MAIN
. When a button is clicked, I want ALL other id's in the dom of the form (MAIN_*)
where * is any string to be toggled, so:
$(something).toggle(); // will toggle all id's MAIN_*
How would I do this in the click event of my button?