jaywhy13
01-06-2005, 10:14 PM
I tend to have this problem generally when i use extensive Javascript...
I get an error because the user might mouse over or click somwhere that invokes a function that tries to manipulate an object on the page that has not yet been loaded.
Is there a valid, cross-browser function to check if the object exists.... of if its has been loaded...
NB: I know of using if(document.all["objID"] and if(document.layers("objID"))
but I'm looking to find a cross browser way or any other methods...
I'm open to any suggestions... and i do mean ANY! :thumbsup: :D
:D :p
I get an error because the user might mouse over or click somwhere that invokes a function that tries to manipulate an object on the page that has not yet been loaded.
Is there a valid, cross-browser function to check if the object exists.... of if its has been loaded...
NB: I know of using if(document.all["objID"] and if(document.layers("objID"))
but I'm looking to find a cross browser way or any other methods...
I'm open to any suggestions... and i do mean ANY! :thumbsup: :D
:D :p