The problem is it duplicates all the previous DIVs that have been added. For instance by clicking the "Add another option" button when 1 DIV shows produces 2 DIVs. Click the button again and 4 DIVs appear, click again and 8 DIVS appear. Basically it inserts all the DIVs that are already on the page.
So basically I have three issues:
I want to be able to click the button and only 1 DIV is added at a time.
I want the H3 header to change to "Additional Option 1", "Additional Option 2" etc., when a new DIV is added.
The TinyMCE editor doesn't work in the additional DIVs created (mceAdvanced textarea class), any ideas why?