#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    204
    Rep Power
    2

    AJAX way of showing <table>


    Hi,

    It's been a while since i used AJAX. Im populating a table with information from my database (mysql). There is a <select> which decides what information to load from the database..

    Now do i ouput the table in the get.php or do i do this all with Jquery (client side)

    Thanks!
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2009
    Location
    Jakarta, Indonesia.
    Posts
    197
    Rep Power
    31
    Hi.

    I'd rather use ajax, ONLY IF this table is DYNAMIC. For example, say that the table is designed to show only 10 of lines of data, while there are probably more in database. So to see other 10 without leaving that same page, a different query would be needed, right? And that would be a proper job for AJAX.

    Hendra

IMN logo majestic logo threadwatch logo seochat tools logo