Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

hash and topage



1:34 am on Mar 16, 2010 (gmt 0)

5+ Year Member

hello I have links in the middle or in the bottom of the page that work with AJAX with

<a href="#" onclick="getContent(13);">

when I click the link the function starts but since there's the # the browser will scroll up to the top of the page. Is there a workaround to prevent this with still showing # in the link?


2:30 am on Mar 16, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

<a href="#" onclick="getContent(13);return false;">


12:39 pm on Mar 16, 2010 (gmt 0)

5+ Year Member


Featured Threads

Hot Threads This Week

Hot Threads This Month