physically romoving a form element from a page

admin

Administrator
Staff member
I'm having a problem with submitting a form on a web page that the server side code is slightly buggy(and cant be replaced) I'm able to tell it to exclude an element from the form submission so that its not submitted, however this doesnt always work, someitmes it works 3 times in a row, some times its 20, it seems totally random
so to avoid this problem I've had the bright idea of removing the element from the form enterly and the page for that matter when the form is submitted.
I really want comfirmation that there isnt a simple way like object.destroy() I can call to remove it, rather than use a div tag to enclose it then set the innerhtml to blank to wipe it that way.
all sugestions welcome unless theyre fix the server

and can anyone tell me whats wrong with this line of code?
top.frames['MainEdit'].document.ripper.InnerHTML="hello"
as the function its called from now doesnt work and I cant seem to get ie to give me any errors
 
Back
Top