Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
CGI::Ajax No head/html tags, nowhere to insert. Returning javascript anyway.by msinfo (Sexton) |
on Sep 01, 2013 at 13:36 UTC ( [id://1051796]=perlquestion: print w/replies, xml ) | Need Help?? |
msinfo has asked for the wisdom of the Perl Monks concerning the following question: hi monks, i am getting below message in my web pages, which use CGI::Ajax module No head/html tags, nowhere to insert. Returning javascript anywayHere is skeleton of my code:
Now this generates, html properly and even calls Ajax function, but displays above warning message in browser, all the time. I went through CGI::Ajax documentation, and below are the lines, which I doubt are related to problem. Arguments: The CGI object, and either a coderef, or a string containing html. Optionally, you can send in a third parameter containing information that will get passed directly to the CGI object header() call. or is it mandatory to write Show_Html as follows only
While doing debugging with Firefox, I found out that actual response body was as follows
Back to
Seekers of Perl Wisdom
|
|