yeah, i have checked through the firebug and found that the values are passing and also i created a test page and check whether the ajax call is alerting the content of the page and found that, it is working.I think, the problem is with the method, that i use to take the value.
Re^2: retrieving value from ajax call to cgi page
Replies are listed 'Best First'.
In that case, we will need a more complete example of your code. Is the $cgi object in the current scope? Did you turn on strict and warnings?
For now, try the following sample:
use CGI::Carp qw(fatalsToBrowser); # not needed per se, but very usefu
+l for debugging
my $cgi = new CGI();
print "alert('", $cgi->param("value1") || "nothing", "');\n";
I have tried like this and found that , in the alert box provided in the ajax, the value is printing correctly.
The value1 contains 4 values, in the alert box provided in ajax code, the following displays each time with each colunm value of the row.:
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"