0

Hi frens,

i have a requirement, where on selecting a option from dropdown, next 2-3 text field should get populated with data from db(without refresh), i managed to get this this thing to work using ajax/jquery, but i am not able to display the data in their respective fields, its returning as a single text and getting displayed in one field.

is there any function like explode in php??

can someone pls throw light on how to get through this problem.

any help/suggestion appreciated.

Thanks

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Taywin
0

hey taywin, thanks, its exactly what i need, but i was not able to get this thing to work with ajax, so i switched to jquery, where i could get the string, is it possible to parse the string as shown in that thread??

anyways, please have a look at my ajax code, which i could not get to work,
http://www.daniweb.com/forums/thread351137.html

it would we very helpful, if you could find where i am going wrong in ajax

0

Well, what you have to do or replace the onstageready is in your :success for JQuery. The only thing you need is to return a correct string format. Or if you want to use xml, you have to modify the match up in order to make it work.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.