Re: [Proto-Scripty] Re: prototype to populate select box via ajax

2010-08-17 Thread Phil Petree
T.J. YOU are a gentleman AND a scholar! I looked everywhere for how to do this! Hopefully this post will move up in the search engines and others can find it! One other question on this... What if the XML response is: data other stuffmore and more/stuff /other states state

Re: [Proto-Scripty] Re: prototype to populate select box via ajax

2010-08-17 Thread Phil Petree
Here is a completed function that will populate a select box with data in an XML format (XML format below): // fill the select dropdown list box // @ajax response (transport as returned above) // @id of the select field (defaults to elFieldName // @xml_data_node_name (our dataset uses 'state')