Showing posts with label json. Show all posts
Showing posts with label json. Show all posts
Wednesday, 19 December 2012

jQuery : Make Ajax Call PHP Script with JSON Return

User experience plays a vital role in excellent web design. AJAX allows you to run server-side validations, form submission, data retrieval, and other server-side stuff in the background (asynchronously) without interfering with the existing page where the request was made. It's a beautiful thing, but best of all it's not very difficult to do.

JSON its self is JavaScript Object Notation and a lightweight data-interchange format.Beside that JSON generate text-based open standard that readable for human. In this time, we'll try using JSON for data transfers and JQuery library for the tool and make AJAX connection.

Assume that we have structure file as below :


So let's move on to the script.

1. html


    JSON JQuery
    
    


    
Nama :
Alamat :
 
Atribut yang sudah terset adalah :
Copyright © 2012 Clighter | Powered by Blogger