Jeremy Davis
January 14th, 2003, 11:42 AM
I have a web page that writes a text box to the screen depending on centetain paramters.
if(ok) printf("<input type="text" name="textbox">\n");else printf("Something else");
I then wish to do something IF "textbox" is displayed. I do not then know the state of "ok" so I wish to interrogate textbox to see if it exists.
I there any way to do this in JavaScript?
TIA
if(ok) printf("<input type="text" name="textbox">\n");else printf("Something else");
I then wish to do something IF "textbox" is displayed. I do not then know the state of "ok" so I wish to interrogate textbox to see if it exists.
I there any way to do this in JavaScript?
TIA