I think you might be getting your client server logic confused.
If you're looking to evaluate the XHR's responseXML or responseText
properties you should use the Ajax.Request class instead of Updater
which auto injects responseText into the element's innerHTML
property. With Ajax.Request no element is directly modified but
you're able to update things manually by working with the XHR in a
function callback. I take it you're working with PHP on the back end,
if you think about it, the responseText is a PHP String that gets
outputted by the server side script that the client's XHR objects are
connecting to. If you want to manipulate the data in PHP it must be
done upon the request and sent to the client in a string.
On Aug 8, 11:18 am, jdalton <[EMAIL PROTECTED]> wrote:
> give the list an id or class: <select id="results" .....
>
> var values = $A($('results').options).pluck('value');
>
> //for just the current selected value i think
> $F('results'); would work
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---