quick update....

I found a plugin called selectCombo which appears to do exactly what I
want.

http://code.google.com/p/jqueryselectcombo/

I am having one problem though. After I encode by MySQL response in
JSON format as required, nothing happens. It appears that I need to
reformat the JSON response from its current response of:

[{"regionState":"AZ","regionName":"Maricopa"},
{"regionState":"AZ","regionName":"Pinal County"}]

to what I think is required:

[{oV: 'myfirstvalue', oT: 'myfirsttext'}, {oV: 'mysecondvalue', oT:
'mysecondtext'}]

Is this possible? If so, how do I go about replacing or reformatting
the JSON response to include the oV and oT parameters?


On Sep 13, 10:00 pm, negotiator <[EMAIL PROTECTED]> wrote:
> Any way to autopopulate form elements using jquery and its ajax
> function from a MySQL database?
>
> Individually, I have gotten the form element to populate another
> element with a submit button using the JQuery Form Plugin.
>
> Also, I have gotten a form element to auto submit when a select option
> is selected and open a new page with the populated child element.
>
> However, I am not able to autosubmit an element and populate a second
> element from a mySQL database with jQuery and Ajax (no reload).
>
> Any suggestions or plugins?

Reply via email to