|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
js submit command not working in mail
Hi. Ive have a form in a html document with a text link as a submit button. I use this code
<a href="javascript:document.form_name.submit();">clicking here</a> and everything's working fine. But if I send the document as an html email, this is not working anymore. Any idea? Thanks |
|
#2
|
|||
|
|||
|
RE: js submit command not working in mail
what does your html mail look like?? How can Javascript know the URL of your website and which form to submit when you send it in a email?
|
|
#3
|
|||
|
|||
|
RE: js submit command not working in mail
Hi.My html mail is a standard html page that includes a form with a hidden field containing email addresses from a data base as value.
In this form, I've put the javascript to pass the variable to the php page the form action calls.(in order to connect and do operations in the database). All this is working in a html page in a browswer and in my html mail if I use a submit or image button. But not with the javascript to do the text link thing. |
|
#4
|
|||
|
|||
|
RE: js submit command not working in mail
js doesn't work in email (and it shouldn't)
btw, why dont you just use a submit button? (duh!) |
|
#5
|
|||
|
|||
|
RE: js submit command not working in mail
Thanks, that's the answer I wanted. The reason I want to do this is that my client want this.
But how to pass a variable from this html mail without using a form. I,ll post a new thread. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > js submit command not working in mail |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|