简体   繁体   中英

back to parent page link in java script

someone could help me to transform this script: < back, that simulate the back button of the browser, into a back-to-parent-page-link? I'using wordpress and the plugin AWPCP, I want users can go back from an ad page to the parent-category listing

If I understand that correctly, you want to create a link that will navigate to the previously seen page in the seem browser tab? This can be done with Javascript: <a href="javascript:history.back()">back</a>

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