gokou
08-28-2003, 02:23 AM
heres the url to url to the page where my problem is: http://www.uogameresources.com/email.php
The script is a form validation. When you hit submit, it validates the form. I had it working with an alert box at first, but now I want to make text appear right below the form, displaying the errors instead of an alert box. I just started learning about nodes, so I have some knowledge of it, but not enough.
I can make the text appear as a paragraph all the way to the bottom of the page, but that's no good. I did it like this.
var p = document.createElement("p");
p.appendChild(document.createTextNode(msg));
I want to beable to do it, using tr and td elements, but I don't know how to mix 2 elements together.
Can anyone help with this?
The script is a form validation. When you hit submit, it validates the form. I had it working with an alert box at first, but now I want to make text appear right below the form, displaying the errors instead of an alert box. I just started learning about nodes, so I have some knowledge of it, but not enough.
I can make the text appear as a paragraph all the way to the bottom of the page, but that's no good. I did it like this.
var p = document.createElement("p");
p.appendChild(document.createTextNode(msg));
I want to beable to do it, using tr and td elements, but I don't know how to mix 2 elements together.
Can anyone help with this?