Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2006-06-17, 05:38 PM   #2
oast
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
 
oast's Avatar
 
Join Date: May 2004
Location: UK
Posts: 316
Quote:
Originally Posted by Xallow
I am trying to get a form to do 2 things when submitted using javascript
1: Send me an e-mail
2: Popup a Submitted window
Instead of sending by email, can you not process with a script, which will validate the input properly, then redirect to a "submitted" page if all is OK?

In any event, this does what you asked.
Code:
<script type="text/javascript">
function popupsubmit(){
window.open('http://www.pornpartyporn.com/submited.html', 'iframe1', 'height=400,width=400,scrollbars=no');
}
</script>
<form method="post" action="mailto:webmaster@pornpartyporn.com" onsubmit="popupsubmit();">
Form data here
<input type="submit" value="Submit Form by Email">
</form>
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare.
oast is offline   Reply With Quote
 


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:32 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc