Hello all I have a form and some 20 input elements inside it, On a particular event i want to remove all the elements inside it. I don't want to use remove()/removeChild() as i have to get each and every element and say remove. is there any way using which we can just remove all the elements in a form. please help
Asked
Active
Viewed 147 times
-1
-
I found similar question and the answer is [here](http://stackoverflow.com/questions/3955229/remove-all-child-elements-of-a-dom-node-in-javascript?answertab=active#tab-top). You can also read [this link](http://blog.matt.thomm.es/post/63915071626/removing-all-child-nodes-from-an-element) for more help. – Zeinab Abbasimazar Nov 12 '13 at 07:48