> What p's me off though is why the javascript didnt throw a big fat error when it > tried to reference a form element that didnt exist yet?...
You using IE? It tries to be too user-friendly by hiding JS errors. Go to Tools > Internet options > Advanced. Uncheck "Disable script debugging" and check "Display a notification about every script error". Now you're in developer-friendly mode. Regards: Ayudh +--------------------------------------------------------------+ | Turn on your Revenue Stream... | | Bolt on a Virtual Cash Register to your e-commerce site now. | | VeriPay from Xilo Online: http://www.xilo.com | +--------------------------------------------------------------+ ----- Original Message ----- From: "James Silva" <[EMAIL PROTECTED]> To: "CFAussie Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 13:19 Subject: [cfaussie] Re: OT: javascript and the back button > > Try putting onLoad="show()" in your BODY tag instead of having it inline in > > your javascript and see if it makes any difference. This ensures that your > > whole page is loaded before the javascript function starts referencing page > > elements. > > > > Regards: Ayudh > > Cool... one gold star for you! > > What p's me off though is why the javascript didnt throw a big fat error when it > tried to reference a form element that didnt exist yet?... > > anyhoo... problem solved. thanks muchly :) > _______________________ > James Silva > Web Production > Gruden Pty Ltd > > Tel: +61 02 9956 6388 > Fax: +61 02 9956 8433 > Email: [EMAIL PROTECTED] > Web: www.gruden.com > _______________________ > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
