I'm not sure if this addresses what you're trying to do, but if what you
want is for the javascript to execute whenever the tag is included in a
browser page, just enclose the javascript in your script tag, but don't
put it in a function - that way it will be executed as soon as the browser
sees
Yeah you can just do
script
Function()
/script
from where-ever in your page.
Justin
-Original Message-
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 3:40 PM
To: CF-Talk
Subject: Calling JavaScript when loading custom tag.
I'm working on a
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.
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
4 matches
Mail list logo