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 25th, 2004, 01:46 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
form action,onclick and php!

Hi everybody.

I have a textfield on my index page to enter email address and when submit button is hitted, a pop-up window opens with the rest of the form but with the email address already in it's field.

To do this, I've put an action that goes to a php files that grab the address from the 1st field and contains the rest of the form.

the problem is that right now, it's a whole new wondow that opens with a target command because
I don't know how to combine the "action" and "onclick" commands into my form tags.

I've tried to put only the onclick but the email is not carried to the second form and the index page go away.

To make it clear, I just want to do the same thing but the second form in a pop up.

Thanks.

Reply With Quote
  #2  
Old February 25th, 2004, 02:18 PM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: form action,onclick and php!

Show us some code bro!

Reply With Quote
  #3  
Old February 25th, 2004, 02:48 PM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: form action,onclick and php!

Check out this tutorial to see if it's any help: www.wsabstract.com/javatutors/send1.shtml

-Tim

Reply With Quote
  #4  
Old February 29th, 2004, 09:07 AM
valgevali valgevali is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Estonia
Posts: 10 valgevali User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: form action,onclick and php!

do not submit the first form at all. pop up the new window and put the javascript code there that goes to its window.opener.document.forms[0].email.value.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > form action,onclick and php!


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 1 hosted by Hostway
Stay green...Green IT