Question re: onload=
-
Using WP 1.5
I want to use a contact form on my site. I have some code in mind but I need a question answered.
The code that I want to use has its own header built into a php file.
I can remove reference to the code’s header section with no problem so that it can be included in a WP contact form template.
However, the code that I want to include in my WP template uses this tag:
<body onLoad="document.emailform.text.focus();placeFocus()">'
Since the body tag in WP is in the header file - including this tag element would place it on all pages on my site - something I would rather no do.
I only want the onload=
code to be used in the contact form template.
MY question is:
Is there another way to use the onload=` function without including in the body tag – Does it work with other tags?
Thanks
- The topic ‘Question re: onload=’ is closed to new replies.