Jquery – Remove the Contents of a Div using JQuery


How to remove the contents of a Div Using JQuery.
For eg.

 <div id="1">
  <label id="label1"/><br/>
  <input type="text" data-attr="phoneEuro" style="width: 200px;" id="input1"/> <label id="instr1"/>

i want to remove the full content of the Div . and to add new contents to it.

Best Solution


Also you shouldnt really start id's with a number