Extracting The Content Of An Element From An External Page
We are quoting on a website rebuild that involves us taking a current website, doing a new design for it and then rebuilding it within Business Catalyst (Adobe's Content Management
Solution 1:
You can use jQuery's load()
function to load content from an external page (even a specific div on another page) into a div on the current page, like so:
$("#load_content_in_this_div").load("page.html #div_to_pull_from");
This will load content pulled from the #div_to_pull_from
div on page.html
into the #load_content_in_this_div
div on the current page.
As for pulling content from pages on another domain, this plugin should do the trick.
Post a Comment for "Extracting The Content Of An Element From An External Page"