Share Link php + ajax content acquisition and dynamic modification This post was last edited by hudie631489527 at 09:24:20
Or because of work needs, the share link function is implemented.
This function looks simple. it takes some time to complete it.
It indicates that the jquery package is a little big, and many functions cannot be used here, so it is useless.
Based on the JS on the Internet, a simple node JS is written to implement this function.
Three files:
Parse_share.html display page
Parse. js receives data operations returned by php
Parse. php remotely obtains data, processes analysis, and returns the json data format to js
Please watch the demo here
The source code address is also provided here: share the link php + ajax to obtain and dynamically modify the content (www.onlypo.com)
First, list the source code one by one:
Parse_share.html: there is nothing to say about this file.