Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-06-2004, 02:15 PM
WebProWorld New Member
 

Join Date: Oct 2004
Posts: 18
Amitkrathi RepRank 0
Default javascript post variables in new window..

I am using following codes to submit form but not able to post form variables to new window(without menubar & toolbar).

What lines should be added to post form variables to new window using javascript.

====================
Example: these codes post form variables in the same window.
Code:
<script language="javascript">
function emailLink()
{
document.listmails.submit();
}
</script>
<form name="listmails">
<input type="text" name="a" value="1234">
<input type="text" name="b" value="1234">
</form>
[/code]
__________________
Amit Rathi
http://www.sphereinfo.com
Reply With Quote
  #2 (permalink)  
Old 12-14-2004, 02:49 PM
vittorio's Avatar
WebProWorld New Member
 

Join Date: Oct 2004
Location: Italy
Posts: 24
vittorio RepRank 0
Default Post variable in JavaScript

Hi,

This is not possible to do with JavaScript, PHP is a better tool.

You can get by JavaScript the post variables read in the same page. This is done in my "Addings to Virtualshop" and believe me is not simple, [I do not want to sell you my program just for that]

You could try the method get and retrieve 255 chars in the next page.
Get the code from my basic <a href=http://www.ics3w.com/VirtualShop/InputData.html>Virtualshop</a> , hope you have the skill to do it because it is not simple.
My Virtualshop basic is freeware.
__________________
Php & JavaScript programmer @ pr.c-php.com/forum/
Reply With Quote
  #3 (permalink)  
Old 12-15-2004, 03:16 AM
WebProWorld New Member
 

Join Date: Oct 2004
Posts: 18
Amitkrathi RepRank 0
Default Re: Post variable in JavaScript

Thanks vittorio.

I want to post form variables in new window through javascript as i am submitting form through
document.form.target="_blank"
document.form.submit();

These codes opens a new window but do not post variables.
__________________
Amit Rathi
http://www.sphereinfo.com
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , ,



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0