Difference between revisions of "AJAX Names"

From WolfTech
Jump to navigation Jump to search
Line 3: Line 3:
 
You need to add the following lines of code to your page:
 
You need to add the following lines of code to your page:
  
 +
<nowiki>
 +
<link rel="stylesheet" href="http://www.wolftech.ncsu.edu/includes/AJAXnames/AJAXnames.css" type="text/css"></link></nowiki>
  
<link rel="stylesheet" href="http://www.wolftech.ncsu.edu/includes/AJAXnames/AJAXnames.css" type="text/css"></link>
+
<nowiki><script type="text/javascript" src="http://www.wolftech.ncsu.edu/includes/AJAXnames/name_search.js"></script></nowiki>
 
 
<script type="text/javascript" src="http://www.wolftech.ncsu.edu/includes/AJAXnames/name_search.js"></script>
 
  
 
----
 
----

Revision as of 11:06, 8 December 2006

To user the AJAX Names lookup utility ( as seen on http://www.wolftech.ncsu.edu/lookup/ )

You need to add the following lines of code to your page:

<link rel="stylesheet" href="http://www.wolftech.ncsu.edu/includes/AJAXnames/AJAXnames.css" type="text/css"></link>

<script type="text/javascript" src="http://www.wolftech.ncsu.edu/includes/AJAXnames/name_search.js"></script>


Then for the two dropdown boxes, insert the following code:

Unity ID Lookup

<input type="text" name="UnityID" id="UnityID" onkeyup="searchBox(event, this, 0, 'searchResults', 'U','Employees');" value="" size="8" autocomplete="off" />


Last Name, First Name Lookup

<input type="text" name="userLookup" id="userLookup" onkeyup="searchBox(event, this, 0, 'lookupResults','N','UnityID','Employees');" value="" size="20" autocomplete="off" />