Hi,
Please help me.. eg. :
<input id="country" name="id="country" type="text" />
<div id="target_country" class="auto_complete"></div>
<script type="text/javascript">
//<![CDATA[
var country_auto_completer = new Ajax.Autocompleter("country",
"target_country", "/suggest_country_and_presidents.aspx", {})
//]]>
</script>
<input id="actual_president" name="id="actual_president" type="text" /
>
________________
I would like that, somehow when the suggestion_response from the
server_side arrive and I ckick one, automatically the binded
"president" input to be filled.
Somehow, into that <li>country1</><li>country2</li>.. I have to
inoculate their corresponding actual_president
(That's the easy part.. for eg. I can use a <span
class="secondParam">Bush</span> delimiter)
How to extract the second inoculated param and how to drop it
automatically into the "actual_president" input?
Thank you
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---