youngros Posted January 24, 2009 Report Share Posted January 24, 2009 On the old forum I was given a link to use javascript as a means of sending email. It works fine, but, after working on an updated site and following the advice to use HTML 4.01 Strict it doesn't validate. I am getting the error message that says end tag for element "FORM" which is not open, but it validated XHTML what is the solution? I know I still have to use css with the table, this is a works in progress. ww w.sans souci web design.com/NewHoly/contact_us.php How do I find the old forums for reference? Quote Link to comment Share on other sites More sharing options...
falkencreative Posted January 24, 2009 Report Share Posted January 24, 2009 Try this... <br /> <!-- <br /> var Domain = "holytrinity-madeira.org";<br /> var Mailme = "mail" + "to:" + "churchwarden@" + Domain;<br /> document.write("<input type=\"submit\" value=\"Email Church Warden\" ");<br /> document.write("onclick=\"parent.location=Mailme\"> ");<br /> // --><br /> I've just taken out the form tags entirely. Double check, but it seemed to validate for me. Quote Link to comment Share on other sites More sharing options...
youngros Posted January 25, 2009 Author Report Share Posted January 25, 2009 Thanks Ben, it does validate. Will now try it out to make sure it works!! This years project is to learn more about javascript. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.