File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to call mutiple Ajax in multiple row with diff values
Joined: Apr 07, 2011
Apr 07, 2011 03:47:09
hi, i m adding a row with onclick event and calling Ajax in that row, but when again i am adding that row with same event than ajax is showing me the same value for previous row , what is solution for this thing and suggets me the solution .......
Joined: Jun 07, 2010
Apr 07, 2011 06:19:00
Can You Please Explain your Actual requirement ...
there Can be Some Caching issues in your case (am not sure) ..
on server side you have to make sure that you wont cache a response
use this to enabling no-caching
i Guess you are using HTTP GET method . if you use it you may be getting same response ...
if you are using POST you have to do some tuning on XMLHttpRequest check this link
http.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); http.setRequestHeader("Content-length", params.length); http.setRequestHeader("Connection", "close");
check these also
I agree. Here's the link:
subject: how to call mutiple Ajax in multiple row with diff values
Alignment is not proper
Signed JAR applets in 1.2
Problem handling Esc key press
add listener to combo drop down list
AJAX required or not
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015