I've fiddled with Prototype/Script.aculo.us and want to start using JSON when interacting with my PHP Code. So far I'm good, I've got some data being passed to my PHP, it gets process and then encoded to JSON. Now, I need to figure out how to use that data in my onSuccess function....Can anyone help?
Also, this is a side now, but I've got a drop down box populated from a DB and an option to add to the list. I'm using just the AJAX request to make the change. Basically, user click "Add New Defendant" a JS Prompt appears, the user enters the new title, upon submit the AJAX gets called inserts the new defendant name into the database and return the Name (which I've already got) and the id (this is important because it's the value of each select...) I am looking to change the selected index of the drop down box to match what the user just entered, but I can't figure out how to do it. I know this isn't a Prototype or Script.aculo.us issue, but if anyone has a suggestion it would be much appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---