[Overview] [Basics] [More] [Fun] [Class 2] [If] [Functions] [Timing] [Queries] [References] [Examples] [Libraries] [Assignments]
This is a short example of getting the query string. Enter some values and click on the Testing button.
The information the page received is
The information the page received is <strong>
<script language="javascript1.1">
if (location.search == "") {
document.write("<em>nonexistant</em>");
}
else {
document.write(location.search);
}
</script>
</strong>
[Overview] [Basics] [More] [Fun] [Class 2] [If] [Functions] [Timing] [Queries] [References] [Examples] [Libraries] [Assignments]
Source text written by Samuel A. Rebelsky.
This page may be found at http://www.math.grin.edu/~rebelsky/Tutorials/JavaScript/Spring1999/Examples/query.html
Source text last modified Wed Apr 14 12:29:38 1999.
This page generated on Wed Apr 14 12:35:46 1999 by SiteWeaver. Validate this page's HTML.