Used jquery native AJAX function to query database. Code is a little shorter now.
Used jquery native AJAX function to query database. Code is a little shorter now.