Change your method to post

new Ajax.Autocompleter("txtCustName","hint","../auto/server.asp?t=888",
{asynchronous:true,*method:'post'*,minChars: 4,updateElement:
PopCustName,*postBody*:Form.serialize($("AddNewAcct"))});

or use
Request.Querystring (parameters passes in querystring), or for a combination
request collection (slower) use simply request.


Gareth




On 7/10/07, Vitruvian <[EMAIL PROTECTED]> wrote:
>
>
> I am trying to access the form content (using Request.Form) in the
> server, but Ajax.Updater is not supplying the input field values.
> I have a form with 10 text fields, I am using auto completion for
> fields 5, 6..10.  When a request is made to the server.asp, I have to
> supply the values of 1..4 fields (the user will type info. in these
> fields).  This is required to narrow down the auto suggest values.
>
> Here is my code
>
> new Ajax.Autocompleter("txtCustName","hint","../auto/server.asp?t=888",
> {asynchronous:true,minChars: 4,updateElement:
> PopCustName,parameters:Form.serialize($("AddNewAcct"))});
>
> When I loop thro' the Request.form collection in the server, I dont
> see the values the for the 1..4 text fields the user has inputed
> Any work around for this? How do I pass the form content to the server
> (POST method) using Ajax.Autocompleter.
>
> Thank you in advance
> Prasada
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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