rockinaway Posted September 6, 2007 Share Posted September 6, 2007 I am toggling DIVs with Javascript.. but when my DIV is set to display 'none', and I press back from the page it keeps refreshing.. but when it is set to display 'block', all works fine.. What could be the problem? Quote Link to comment Share on other sites More sharing options...
micah1701 Posted September 6, 2007 Share Posted September 6, 2007 can we see your code? i'm guessing that you're using a function that doesn't "return false" at the end (or the originating link's "onclick" event doesn't as the function to return anything) thus the browser follows the link after running the function Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.