Web Analytics Made Easy -
StatCounter js text link submit not working in html mail - CodingForum

Announcement

Collapse
No announcement yet.

js text link submit not working in html mail

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • js text link submit not working in html mail

    Hi everybody.

    I have a form in a html document with this code to use a text link as a submit button:

    <a href="javascript:document.form_name.submit();">click here</a>


    It's working just fine but if I send the html page as a html email, the text link is not working anymore.

    Any idea?

    Thanks.

  • #2
    The form action attribute must point to a server-side page (ASP, PHP, JSP, etc) that will do the sending of mail.
    Glenn
    vBulletin Mods That Rock!

    Comment


    • #3
      action

      the action is pointing to a php document that write a date base.

      The only thign that's not working here is that the javascript (text link instead of submit or image) is not working when in a html email.

      If I put an image or submit button, there's no problem.

      If I let the javascript in a html page in a browswer window, it works.

      Comment


      • #4
        Maybe your email client is disabling javascript? Many email clients do it for security reasons.
        Nobody is Perfect. I am Nobody.

        Comment


        • #5
          ultraman, I misread your first post. Unit is correct, javascript is probably disabled.
          Glenn
          vBulletin Mods That Rock!

          Comment

          Working...
          X