#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2015
    Posts
    1
    Rep Power
    0

    ASP and AJAX, get data from database without refreshing page


    HI,

    I'm looking for a function to embed into an ASP page to call a MYSQL database and check for
    updates/changes. Then post those updates to a table without the page refreshing.

    I've been using ASP for a while but very new to AJAX.

    Thanks

    John
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,529
    Rep Power
    4541
    Look in to using jquery or something similar. There are lots of examples of handling server-side ajax requests on the net, but probably not so many classic asp samples. JSON is one standard way to transfer results back to the browser.

    I'm still using an ancient, no longer supported, classic asp ajax library called cpaint. If you can still find it, there are classic asp/db/ajax examples included.
    ======
    Doug G
    ======
    I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton

IMN logo majestic logo threadwatch logo seochat tools logo