Andrew Kaspick wrote:
> Check out the :with parameter. That might be what you're looking for.
Excuse my ignorance, but could you please point me to the exact
location where I can find more info about :with param. I looked at the
documentaton, and I found that I could use either
a) new Ajax.Autocompleter('ac1','ac1update','/cgi-bin/my.cgi',
{paramName:"typedText", minChars:1} );
which gives me access to the 'typedText' in my.cgi.
Or,
b) new Ajax.Autocompleter('ac1','ac1update','/cgi-bin/my.cgi',
{parameters:'action=getMatchingText'} );
which gives me access to action 'getMatchingText'...but not the
'typedText'.
I am looking to have access to both 'typedText' and 'action' parameters
in my.cgi.
Thanks,
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---