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? Link to comment https://forums.phpfreaks.com/topic/68258-toggle-causes-crazy-refresh-bug/ 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 Link to comment https://forums.phpfreaks.com/topic/68258-toggle-causes-crazy-refresh-bug/#findComment-343153 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.