<div id="divContent"></div> <input type="button" value="Click Me To Add" onclick="AddAndPrint();"> <input type="button" value="Click Me To Remove" onclick="RemoveAndPrint('0000');">