posted 16 years ago
Hi
I am new to AJAX and today i make my first Hello World application using AJAX.
Now i want to make one application that contains only one Text Field in which user enters the name of employee for which he want to make search in database.For this i am using onChange property on Text Field.Please see the code for that below:
Now on onChange my fetchEmployeeDetails() function of JavaScript get called and i passed the Employee Name entered by the user to Server Side code.There i make search based on the name and make the result as an ArrayList.
Now my qyestion is: In server side code i have my result in ArrayList with me. How to send back this ArrayList to client and how to iterate it to show result to user.
Thanks for help.
Ram