Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Is it possible to pull wordpress content from an outside page using Javascript?

I am familiar with the PHP code that pulls content from wordpress. However, the pages that I'm working on do not allow me to use PHP, only JS.

I'm looking to load the contents in a div as a table contents then load those into another div or iframe on the same page.

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    You could use AJAX and pull the contents into a div using the .html function. Google 'ajax .html' and you'll find a few guides covering what you're trying to do.

Still have questions? Get your answers by asking now.