★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum3/HTML/000378.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  JavaScript
  read POST data in javascript?

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   read POST data in javascript?
rorwell
Junior Member
posted June 17, 2000 11:00 AM     Click Here to See the Profile for rorwell   Click Here to Email rorwell     Edit/Delete Message Reply w/Quote
Any discussion I see of <form method=get> vs. <form method=post> assumes the POSTed data will go to a cgi-perl script. I want to read that data in javascript, but can't figure out the js equivalent of a perl's "READ stdin" to get to the data. Any help appreciated

------------------
burro = donkey. burrow = hole in the ground. some people don't know the difference.

rkmarcks
Member
posted June 21, 2000 08:49 PM     Click Here to See the Profile for rkmarcks   Click Here to Email rkmarcks     Edit/Delete Message Reply w/Quote
I'm going to assume you've appended the data to a URL which also brings the user to a new page.

The URL of this new page is accessed by the read-only property document.url Seems to me you can assign this to a string variable and read the data with the appropriate String and/or RegExp objects.

Russ

quote:
Originally posted by rorwell:
Any discussion I see of <form method=get> vs. <form method=post> assumes the POSTed data will go to a cgi-perl script. I want to read that data in javascript, but can't figure out the js equivalent of a perl's "READ stdin" to get to the data. Any help appreciated


All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.