JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 4th, 2004, 12:43 PM
BurhanKhan BurhanKhan is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 44 BurhanKhan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
Thumbs down how to send data using POST method in javascript

I have a form like this:
<form name="myform" method="POST" action="showdata.asp">

This form contain a submit button and a textarea.

I want, if i click the submit button, a new window should open using window.open, and the data in the textarea should be send using method="POST".

So that the page showdata.asp can receive that data using:
mydata = request.form("showdata")
I don't want querystrings.

Can any body help me.

Thanks
Burhan

Reply With Quote
  #2  
Old July 5th, 2004, 06:46 PM
EiSa EiSa is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Norway
Posts: 184 EiSa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 22 m 24 sec
Reputation Power: 13
Why not use target="_blank"?
<form name="myform" method="POST" action="showdata.asp" target="_blank">
__________________
Strictly CSS | Poker Cognac XO

Reply With Quote
  #3  
Old July 7th, 2004, 06:36 AM
BurhanKhan BurhanKhan is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 44 BurhanKhan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
Red face ok i use it, But still problem

Quote:
Originally Posted by EiSa
Why not use target="_blank"?
<form name="myform" method="POST" action="showdata.asp" target="_blank">

Thanks for your comments, it realy usefull for me. But i cannot still achive me goal.

How to hide menu,status bar, resizeable button, and address bar of the opening window by using that method?

Thanks
Burhan

Reply With Quote
  #4  
Old May 2nd, 2010, 01:16 PM
mecanicu mecanicu is offline
anonymous
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 244 mecanicu User rank is Private First Class (20 - 50 Reputation Level)mecanicu User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 12 h 20 m 48 sec
Reputation Power: 9
Smile

sorry ... to old

Last edited by mecanicu : May 2nd, 2010 at 01:19 PM.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > how to send data using POST method in javascript


Developer Shed Advertisers and Affiliates


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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap