I need to trigger a function but I do not have the ability to edit the <body> tag. I wanted to use the onLoad function. What can I use that would act just like it that I can place in the middle of my HTML on the page?
Since i am using a template to render all the pages in the site, and the <head> tags are part of the template I need to have it stand alone on the page.
The template is applied to roughly 20 pages and only one page needs the redirect.
THere for if I put this in the head tags of my template it will redirect on every page.
Hope this makes sense.
<script type="text/javascript"> onload = function () {alert ('Hello, World!')} </script>[/QUOTE]
@CharlesJul 25.2006 — #THere for if I put this in the head tags of my template it will redirect on every page.[/QUOTE]Then put your script in the BODY element, perhaps directly after the BODY start tag.