Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. GPDynamics

    Validator @ W3 not liking mailto: statement

    I tried that originally but keep getting: Error: Object expected. I even tried: .js: var fname = "Michael"; var char1 = "@"; var domain = "Domain"; var char2 = "."; var suf = "com"; var email = fname + char1 + domain + char2 + suf; function HideEmail() { document.write('<a href="mailto:'...
  2. GPDynamics

    Validator @ W3 not liking mailto: statement

    Thanks for the feedback. However, I can't seem to get the page to render the results from the .js file. I get no errors....but I also get nothing to appear. Header: <script type="text/javascript" src="scripts/emailnopass.js"></script> Body: <script type="text/javascript"...
  3. GPDynamics

    Validator @ W3 not liking mailto: statement

    The error message I get is: document type does not allow element "a" here The validator indicates the issue is with the > just before My Name and Contact lines of code with issue: document.write('<a href="mailto:' + email + '">My Name</a>'); document.write('<a href="mailto:' + email +...

Part and Inventory Search

Back
Top