Complete code for using AJAX in an ASP Program: |
The story goes like this: You want to insert a new subject "Network Basics" in a Timetable Table. When you type the Character "N" in the Textbox, Immediately, the ajax should work in the background and bring all the subjects having names starting with "N" from the database and display them just below the textbox. And If already "Network Basics" subject was there in that list, then you will just click on that subject name. On clicking, the subject name will automatically goes and sits in the Textbox. Begiinner level program may find it difficult to understand the following code. Steps Involved: You are typing "N" in the Textbox. On pressing the key "N", Jack is called. Jack hands over this value "N" to the Steno who in turn contacts the database and bring all the subject names starting witgh "N". Jill takes this data and puts in the Label which is just below the text box. |
function
jack() { function
jill() { function
fnMOver(inn) {
.mOut{
|
Code
developed by Kalaimathi Shivaji 15-08-2008 |
No comments:
Post a Comment