Updater expects the return result to be (X)HTML. It drops the response
directly into the container as is. You should be returning an HTML string,
or using Ajax.Request to get the JSON, convert it into HTML and dropping it
in place.
If you want to be hackish about it, you do your converting in
Jason,
I'm getting everything back from the php script just fine but I can not get
it into the select at all... I posted a new thread just a bit ago...
what I find is that if I use an onclick event to call my addOption function
with static data it works fine but if I call my function with static
Eric lefauv...@gmail.com wrote:
The easiest way to do that is to build a PHP array, and to use
JSON_Encode to convert it into a JSON encoded string;
Yes, that's the right way.
If you aim for an associative array you should however watch out for a
particular gotcha: If such an array has