jQuery load a page on click then automatically load a div.

Posted by kylex on Stack Overflow See other posts from Stack Overflow or by kylex
Published on 2010-05-13T14:22:24Z Indexed on 2010/05/13 14:24 UTC
Read the original article Hit count: 123

Filed under:

I am wanting to redirect a page on click, and then load specified content into on of those pages div.

How do I go about doing this?

For example:

<div id="redirect">Click here to go to new page</div>

When the new page loads, there will be a div with id = content that needs to have content automatically loaded based on data sent from the redirect id on the previous page.

© Stack Overflow or respective owner

Related posts about jQuery