Share Link php+ajax achieve content acquisition and dynamic modification
Or because of work needs, do this share link function
This function looks relatively simple, to do well, it really takes a bit of time
Description, because the jquery package is really a bit large, most of the functions are not used here, so it is not used
Refer to the JS on the web, simply write a dot js to achieve this function
Three files:
parse_share.html Display Page
Parse.js receive data operations returned by PHP
parse.php Remote Data acquisition and processing analysis, return the JSON data format to JS
Watch the demo, please watch it here.
Here also give the source address: Share link php+ajax achieve content acquisition and dynamic modification (www.onlypo.com)
Or first of all the source code listed:
parse_share.html This file there's nothing to say
<title>Share Link php+ajax achieve content acquisition and dynamic modification</title>
------Solution--------------------
However, you need to be reminded that using JSON to return data is not Ajax, it can only be called Ajaj.
AJAX Asynchronous JavaScript and XML
Ajaj Asynchronous JavaScript and JSON