A shot in the dark (and I'm not looking anything up, so this is me trying to remember
something) but you could try something like:
<SCRIPT>
myfunction();
</SCRIPT>
Something along those lines should do it. ;)
Todd Ashworth wrote:
> 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