I need to Remove this First Name :
ONLY.
I have already assign it to a variable. how to remove only that from DOM.
example:
First Name :<input type="text" name="first_name" id="firstName" value="" maxlength="100" />
var label = document.getElementById(id)['previousSibling'].nodeValue;
now the label
variable contains the value First Name :
I need to remove this dynamically from the DOM.