How can I check if particular button exists on a page? I am dynamically building buttons and need to disable some buttons if they were created in the page.
@theBody44May 18.2004 — #If "text1" doesn't exist then, "document.all.text1" and "document.myForm.text1" will return "undefined" if you try to get it. "document.getElementById('text1')" will return "null". Hope this helps.