Scroll to anchor after jquery.load

Posted by Vitaly on Stack Overflow See other posts from Stack Overflow or by Vitaly
Published on 2010-04-16T17:01:22Z Indexed on 2010/04/16 17:03 UTC
Read the original article Hit count: 676

Filed under:
|
|

There's placeholder on the page that is loaded asynchronously using jQuery load method. Page URL might have anchor and I want to scroll to the anchor after content is loaded. What is the best way to do that?

Problem is similar to this: http://forum.jquery.com/topic/goto-anchor-after-load But I don't like the solution. May be someone has and better ideas on this?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about anchor