Forum Moderators: open

Message Too Old, No Replies

hash and topage

         

Sandro87

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

10+ 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?

daveVk

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

WebmasterWorld Senior Member 10+ Year Member



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

Sandro87

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

10+ Year Member



Thanks