Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Simple example of CGI (Perl) + HTML + CSS + Javascript/jQuery + Ajax

by golux (Chaplain)
on Aug 21, 2013 at 16:23 UTC ( [id://1050387]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    #
    ...
        print "Server local time is $ltime";
        exit;
    }
    
  2. or download this
    body {
            background:  #ffcfff;
    ...
    .factor {
            background:  yellow;
    }
    
  3. or download this
    
    //
    ...
        var text   = "The server says: <b>" + result + "</b>";
        $('#info').html(text);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://1050387]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-25 20:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found