AJAX does not work if web page is created by PERL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emilstamatoiu
    New Member
    • Sep 2006
    • 1

    AJAX does not work if web page is created by PERL

    environment:
    a web page contains a number of pictures that are downloaded using AJAX.

    issue:
    when the web page is downloaded as a ".html " file AJAX does its job perfect.
    when the identical page content is sent via PERL "print (@template);" AJAX does not work.

    question:
    did other developers experience same problem?

    note:
    the ".html" file was created by copying the source of the page generated by PERL.
    I therefore assume pages are absolutely identical.

    Best Regards:
    Emil
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You should check again that the page generated by Perl is exactly the same. If it's no different, it should work. The only thing that might possibly be wrong is the mime type - is it sent as "text/html"?

    Comment

    Working...