I want to hide a div on the next page on the click of a button. Meaning, people will click a button and go to the next page and on the next one I want to apply a '.hide()' with jquery or a 'display: none' for one div. What would be the best way I can do this? I know how to do this when they're on the same page and with the click of a button, but not if you click the button, go to the next page and then hide something from there.

Help! And thank you!!

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.