By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,635 Members | 2,243 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,635 IT Pros & Developers. It's quick & easy.

Can i have more access to post data in a file other than mentionedin 'action' param ?

P: n/a
Can i have access to post data in a file other than mentioned in
'action' param ?

if yes , how to achive this ?
Jan 10 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Jan 10, 1:45 pm, pradnya <pdu...@gmail.comwrote:
Can i have access to post data in a file other than mentioned in
'action' param ?

if yes , how to achive this ?
You could use JS to collect data from a form and send it via an AJAX
request to another file. That could be done very easily with the
prototype.js library, which is what I use, but you can certainly find
other libraries or methods of achieving the same result.

take a look at http://prototypejs.org/api/form/serialize
and http://prototypejs.org/api/ajax/request

With Prototype it would look something like this:

new Ajax.Request('the/url/to/another/file.php', { parameters: $
('myForm_ID').serialize() });

Hope it helps.
Jan 10 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.