posted 9 years ago
Hi,
If a user selects a option then on change event will be invoked. Upon that event dynamically here I'm creating divs and will be added to main div (#radiobuttons id). If a user selects another option previous divs should be removed and new divs should be added to main div (#radiobuttons).
in html,
in js,
but here the problem is remove function is removing all the divs including newly added divs also.