Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Can i have more access to post data in a file other than mentionedin 'action' param ?

Reply
Thread Tools

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

 
 
pradnya
Guest
Posts: n/a
 
      01-10-2008
Can i have access to post data in a file other than mentioned in
'action' param ?

if yes , how to achive this ?
 
Reply With Quote
 
 
 
 
LexNonScripta
Guest
Posts: n/a
 
      01-10-2008
On Jan 10, 1:45 pm, pradnya <(E-Mail Removed)> wrote:
> 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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Like all great travelers, I have seen more than I remember andremember more than I have seen. shenrilaa@gmail.com Java 0 03-06-2008 08:11 AM
Like all great travelers, I have seen more than I remember andremember more than I have seen. shenrilaa@gmail.com C++ 0 03-05-2008 08:41 AM
Like all great travelers, I have seen more than I remember andremember more than I have seen. shenrilaa@gmail.com C Programming 0 03-05-2008 03:26 AM
Can i have more access to post data in a file other than mentionedin 'action' ? pradnya HTML 4 01-10-2008 01:30 PM
XSLT: How to replace param name with this param's value ? Geathaa XML 2 07-30-2003 06:48 AM



Advertisments