On 21/06/07, Paul Collins <[EMAIL PROTECTED]> wrote:

So, what I would like to do, is add a checker to the script to see if
the table actually exists before doing the rest of the code.
Unfortunately, I am a novice to this and I've been stuffing around for
a while and can't get it to work.


Simple solution - add this line to the start of your function:

if (!document.getElementById(tableID)) return;

--




Matthew Pennell //
m: 07904 432123 //
www.thewatchmakerproject.com


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to