/    Sign up×
Community /Pin to ProfileBookmark

recieving form posts with javascript

Hi,

Im in the process of writing an app that is to live within our CRM. (netsuite) this environment makes heavy use of javascript… I was wondering whether there is any standard javascript way of recieving form post data?

if so how would i go about capturing the data once it is posted from one page to another ?

ie
form element 1 type=”text”>

how do i display the value from that form element on a different page after I have posted to it ?

generally i would use a server side language like CF to do what i need to do. bu in this instance i must write it in JS.
any help greatly appreciated.

thanks

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@jasonahouleSep 01.2007 — The only way that I know of would be to use the "GET" method for your form. That way you can retrieve the values from the query string. Using POST will send the data in the HTTP headers which you will not have access to on the response.

If you need to use POST then you can handle the data server side and return Javascript either through a new page or via AJAX.
Copy linkTweet thisAlerts:
@markrobinsonSep 30.2009 — Jason is right.If you want to post the data then you can use post methos but you will not have an access on responce.You have to try some JSP concept.
×

Success!

Help @thenamenoonehas spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...