Changes

AJAX - Function - LiveSearch

6 bytes added, 20:42, 27 December 2012
Step 2. Create the text box and a div to store the results
This is the campaign in which we are going to use the LiveSearch. Usually a section header is added. Into the notes of this section header put
<syntaxhighlight lang="htmlhtml4strict">
<input name="strLiveSearchText" id="strLiveSearchText" type="text" size="30" onkeyup="fn_LiveSearch();">
<div id="divLiveSearch"></div>
The first line calls the function every time a letter is entered into the box. The second div is where the output of the function goes.
 
== Step 3. We put in the JavaScript block. ==
7,528
edits