Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old February 26th, 2004, 11:13 PM
Ultraman Ultraman is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: La Minerve, QC, Canada
Posts: 43 Ultraman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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

Reply With Quote
  #2  
Old February 27th, 2004, 12:23 AM
CodeKadiya CodeKadiya is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,313 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to CodeKadiya
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?

Reply With Quote
  #3  
Old February 27th, 2004, 01:03 AM
Ultraman Ultraman is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: La Minerve, QC, Canada
Posts: 43 Ultraman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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.


Reply With Quote
  #4  
Old February 27th, 2004, 12:50 PM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
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!)

Reply With Quote
  #5  
Old February 27th, 2004, 01:11 PM
Ultraman Ultraman is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: La Minerve, QC, Canada
Posts: 43 Ultraman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > js submit command not working in mail


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT