Man that was a mouthful!
Basically I have a page which when I click on a button, a jQuery (iframe) window comes up. Here there is a combobox that should be filled with values I read from a database.
Ive been reading two pages:
http://openenergymonitor.org/emon/node/107
http://stackoverflow.com/questions/8019489/simple-ajax-jquery-script-how-can-i-get-information-for-each-of-the-rows-in-the
But Im having problems not only understand it but applying it to my situation. One of the reasons is that lets say my query is this:
select name,lastname from people where age=19
this would return something like
adam brown
james lay
bill bult
As you can see 3 rows. The first example only allows one row to be returned/used and I tried seeing the second link but it seems I can just not apply it correctly.
Pretty much, I have problems with everything from getting the data and filling the combobox.
How do I call the function that reads the database then loads the combobox when this jQuery window is opened?
For now that is my main problem.
Thank you