i think there is more than one issue.

1st) change your method to post

2nd) move the onclick (i presume on the submit button) to onsubmit in the
form tag proper.

3rd) make sure the function returns false to stop the page from changing



at least i think thats how it goes, someone please correct me if i am




On 9/14/07, samat <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> I'm facing a problem with the form submiting.
> I use prototype framework. The form is set correctly using the
> niceform system and the form send the informations using javascript
> (onclick="javascript:sendData();") I use the GET method to tranfer the
> parameters to a page (valid.php3) when I get the response from the
> server the page change and the url become url+all the parameters that
> I send
> I want that the page stay at showing the response not showing what I
> have send to the document valid.php3
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to