jQuery,Ajax,loading json for beginner

This is very simple example to show how jQuery and ajax work. It is good for beginners who do not study xhtml. I have one JSON file in server, which has 12 objects inside. And I want to load it into my page and display the name and email. Here is my html code: Here … Continue reading jQuery,Ajax,loading json for beginner

Advertisements

jQuery Diary3

4 methods to add new content: append(): to insert content at the end of the selected elements(附加) prepend():to insert content at the beginning of the selected elements after():to insert content after the selected elements before():to insert content before the selected elements $("p").append(" Appended text"); Remove methods: remove(): to remove the selected element and its elements. … Continue reading jQuery Diary3