Help for this page

Select Code to Download


  1. or download this
    var xmlhttp = new XMLHttpRequest();
    xmlhttp.open("POST", "process.pl", true);
    xmlhttp.onreadystatechange=handleHttpResponse;
    xmlhttp.send("foo=bar");
    
  2. or download this
    $q = new CGI;
    print $q->header('text/plain');
    print $q->param('foo'); # returns undef