简体   繁体   中英

AJAX load a dynamic page into a div

A client needs the url to stay the same on a wordpress website.

So after trying several solutions I think the best way will be through AJAX with the .load method.

So down the side of a page there are navigation items controlled by the WordPress engine taking you through to another page.

Is it possible to intercept the outgoing link and load it into a div on the page without having to modify the anchor tags?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM