Jump to content

Need help regarding AJAX


tolearn

Recommended Posts

HI

Im developing a billing application. For paying fees for a student i have a page with

 

* dropdown listing the term month (Eg. Nov - Feb, Mar - Apr etc).

* dropdown listing the classes in the school(Eg. LKG, UKG, etc).

* text box to type the name of the student.

 

If I type a letter, say "a" in the text box all the names from the database starting with the letter which is typed say "a" is listed. I have done this using the AJAX concept. But i get all the names of students in the school database. What i have to get is only the names of students starting with the letter "a" from the particular class i have choosen in the dropdown. How to implement this using AJAX

 

Thank you.

Link to comment
Share on other sites

  • 2 weeks later...

Tolearn,

 

    You will find several of my posts on this board pointing to: 

 

    http://www.fornewbie.com/article/php/create_ajax_dynamic_drop_down_list_using_php_-_xajax.html

 

  It is kind of a pain to set up, but does exactly what you want.

 

  Let us know if it meets your needs.

 

Scot L. Diddle, Richmond VA

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.