Am trying to use jquery with cgi program but perl compiler is not recogonizing the $ symbol of jquery. I don't know what to do. Give to good suggestions. The following is my piece of code..................
#! c:/perl/bin/perl.exe $cgi=new CGI; <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:/ +/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="/htdocs/js/jquery-1.4.1.min.js"></ +script> <style type="text/styelsheet" src="/htdocs/css/main.css"></style> <script type="text/javascript"> $(document).ready(function() { $("body").css("display", "none"); $("body").fadeIn(2000); }); </script> </head> <body onload=changed() align=left> <center> <table id=one cellspacing=0 style="/*background:#99CC66 +*/" width=924> <tr class=firstrow><td id=logo align="left" style="bac +kground-image:url($logo);background-repeat:no-repeat;"></td></tr> <tr class=secondrow> <td class=menu style="/*backgrou +nd-image:url(/htdocs/images/menubg.png);*/"> <div class="header"> <div class="header_resize"> <div class="clr"></div> <div class="menu_nav" id="menu_nav"> <ul> <li class="active"><a href=" +/anna/index.cgi"><span><span>Home</span></span></a></li> <li><a href="/anna/aboutus.c +gi"><span><span>About Us</span></span></a></li> <li ><a href="http://localho +st/index.php"><span><span>e-Learning</span></span></a></li> <li><a href="/anna/contact.c +gi"><span><span>Contact Us</span></span></a></li> </ul> </div> </div> ..... ..... ....

In reply to How to get run jquery in cgi program? by joney.jn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.