When you put the onload functin in the body tag , did you define the
javascript function between the <head></head>?



-----Original Message-----
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 7:40 AM
To: CF-Talk
Subject: Calling JavaScript when loading custom tag.


I'm working on a custom tag that has a JavaScript function in it that needs
to be called when the tag is loaded.  I tried using <body
onload="function();">, but that doesn't work.  Is there another way to call
a function on load from a 'page' nested inside another page?  My knowledge
of JavaScript isn't all the great :(

Todd Ashworth
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to