Can I make I.E. automatically refresh in the code not using F5 key

I have a jquery menu that works fine in all browsers initially. Then if the F5 or CTRL F5 key is used in I.E. to referesh the page it does not show up.  I have to go back to the URL and hit enter again to make it come up.


Is there some way to put a line of code in the page that it would auto refresh when the refresh key is hit.  Chrome and Firefox do not do this behavior only I.E. and it does it in 9, 10 & 11 versions.  I can't control the users browsers so I need something I can put in the page to stop this from happening.
kdschoolAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Alexandre SimõesManager / Technology SpecialistCommented:
I would skip this trick honestly.
Can't you fix it? It looks more like a execution order problem or something like that.

Are you using ajax to populate the menu?
Does this menu depend on anything else other than static CSS?
Is the display (hide/show) of the menu depend on something else?
0
kdschoolAuthor Commented:
In my dreamweaver software I see a note that javascript is frozen when I hit f5 in that development tool.
0
Alexandre SimõesManager / Technology SpecialistCommented:
If it's frozen probably is because you have a javascript error.

Can you simply debug in directly in the browser dev tools (F12) and see what it says?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kdschoolAuthor Commented:
I was able to debug this using the developer tools like you said.  It was a javascript error.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.