Hello, I am having 3 javascript functions which calls AJAX functions in order to get response. AJAX functions are also seperate from one another. On the change event of combo these functions are called. And response is being printed on html page. But I am not able to get proper response in the last one. But when I put alert on that function the response comes properly. What should be the problem behind it? And how can I solve it? please help me. Thanks in advance..
Hey, it would be good to post piece of code. So it's clear what are you doing with the response. If you can alert it, possible problem is that the source element on your HTML page (for displaying the response) doesn't exist, or you are trying to assign the response into property that doesn't support the format. For instance, if you're trying to add new lines into existing table, innerHTML property won't allow you to do that. Maybe this helps and if not, post the code - it's enough the part where you handle the AJAX response and some HTML, so it's clear where're you are trying to put the response.