Login   Register  
Icontem

File: example.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Natanael Augusto Viana Simões  >  jGet  >  example.html  >  Download  
File: example.html
Role: Example script
Content type: text/plain
Description: Example of usage
Class: jGet
Parse current URL request variables
Author: By
Last change:
Date: 2010-08-31 07:07
Size: 672 bytes
 

Contents

Class file image Download
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="jget.js"></script>
    <script type="text/javascript">
        var obj = new jGet();
        alert(obj.GET["msg"]);
    </script>
  </head>
  <body>
      <form action="" method="GET">
          <label for="msg">
              Message:
              <input type="text" name="msg" id="msg" value="Hello World"/>
          </label><br/>
          <input type="submit" name="submit" id="submit" value="Submit"/>
      </form>
  </body>
</html>