Advice on AJAX Please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fjm
    Contributor
    • May 2007
    • 348

    Advice on AJAX Please

    Hello,

    I am really new to AJAX but can see the benefits to using it. I downloaded a really nice ajax tab module and started to populate the divs that hold the data within the tab.

    What I want to do now is to use AJAX to fetch data from the database and then display that data in my input fields inside the tab.

    I have already written all of the PHP that gets the data from the database but I'm lost on where to start with AJAX. What I need from AJAX is a single POST var to be handed off to my PHP script. When the data comes back, it should have 7 columns. I need those 7 columns to populate the coorasponding input tags.

    Can someone point me to a tutorial or give me something to serch for?


    Thanks,
    Frank
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Try this to get started.

    For the 7 columns problem, use a unique delimiter (if using a string only), or use JSON/XML and parse the response.

    Comment

    Working...