SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool AJAX update listbox

    Hey guys,

    I was wondering how to duplicate the following using Javascript/HTML/PHP:
    http://easylistbox.com/demoRelatedAjax.aspx

    For my project: when one of the top listitems is selected, then a PHP script (already made) is called. The value of the selected listitem is passed to the php file (how?), and the returned variables populate the bottom listbox.

    Could someone please point me in the right direction?
    Thanks in advance

    Matt

  2. #2
    SitePoint Enthusiast navtej's Avatar
    Join Date
    May 2006
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by logikal2
    Hey guys,

    I was wondering how to duplicate the following using Javascript/HTML/PHP:
    http://easylistbox.com/demoRelatedAjax.aspx

    For my project: when one of the top listitems is selected, then a PHP script (already made) is called. The value of the selected listitem is passed to the php file (how?), and the returned variables populate the bottom listbox.

    Could someone please point me in the right direction?
    Thanks in advance

    Matt
    Hi matt
    its all being done with ajax, what is happening when u select an item an a javascript function is being called,with the selected value, which in turn is calling the ,the rquired function of php or asp.net, the result is then being passed to anothen javascript function, which in turns fills the second list.

    Its a basic ajax function, a good tutorial of ajax can help.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •