I want to remove an obj from my form and be able to add it back as it was onload. But when I try to add it back using the var I tried to save onload I get an error (it queries the current form which has its child removed).
How can I store all the children obj properties in their current form onload, immutably, so that I can be able to add them back after they have been removed from the document?
This would give me an error ("Argument 1 of Node.appendChild is not an object"):
var fullList2 = null;
window.onload = function () {
    fullList2 = document.getElementsByName('person')[0].children;
    document.getElementsByName('person')[0].removeChild(document.getElementsByName('person')[0].children[1]);
    document.getElementsByName('person')[0].appendChild(fullList2[1]);
}
the form:
<form name="trans" id="trans" method=POST action=entertransaction.jsp>
    <input type="text" onkeyup="update();" id="input1" value="" name="filterTxt" size="21" tabindex="1" style="width: 195px" />
    <br />
    <select id="person" name="person" size=10 tabindex="2" style="width: 200px">
        <option value="0">Scott Ambler</option>
        <option value="1">Andrew Binstock</option>
    </select>
    <br />
    <input type=submit name=action value="Next ->" tabindex="3" />
</form>
 
     
     
     
    