When using the setTimeout() function in Javascript, you pass it two parameters - the name of the function to call (wrapped inside quotes), and a timeout. what do you do however if the function you call also needs parameters. e.g:
setTimeout("functionName(variable1, variable2)", 1000); this doesn't seem to work. the best solution i've found so far is to use global variables to store the values, and don't pass them in to the function as parameters. anyone got a better solution? Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]