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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old July 4th, 2004, 11:43 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: 5
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, 05: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: 6
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, 05: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: 5
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
Reply

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


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 | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway