Link to home
Start Free TrialLog in
Avatar of kdschool
kdschool

asked on

I.E. 9 JQuery Menu disapears when page is refreshed?

I have a jquery accordion menu that works perfect in chrome and foxfire.  In I.E. 9 when I go to the url it show up then if I hit the F5 key it disapears.  I have to put my cursor in the URL and hit the enter key and it comes back.  

It must be some kind of bug in I.E.9.  I am looking for a fix for this.  

The I.E. developer tool shows only one problem and it's with another jquery menu I have that works fine on all my other pages.  SCRIPT5007: Object expected in this part of the code.  If I take out the accordion menu then the first menu works fine with no errors in the developer tool so I don't think this is the problem.
      <script type="text/javascript">
                  jQuery(document).ready(function(){  
                        $().jetmenu();
                  });

Any help would be greatly appreciated.  I could give you the code but can't get to my site since it's behind a firewall.
Avatar of kdschool
kdschool

ASKER

One more thing.  That script it's citing does not even go with the second menu I am having the problem wiht .  It goes with the first menu that works fine.
Here is what is happening.  I  think it's a browser issue.  In chrome and firefox the page load correctly first time and both menu's work.  In I.E. 9 the intiital load only shows the top menu not the second one but both menu's don't work..  the deveoper tools shows this on ctrl F5 saying this part of the statement below is $().jetmenu(); SCRIPT5007: Object expected .  the URL then puts a # at the end of the URL.  Hitting F5 or CTRL F5 does not bring this online.  Putting cursor in URL and hitting enter brings up both menus and they work.  Hitting F5 again menu disapears and other one stops working.  Hit enter they both work again.

It's some kind of I.E. Browser issue.  Menu one works fine until I add menu 2.  Whatever enter does to the page I need to make it do that onload of the page.


<script type="text/javascript">
jQuery(document).ready(function(){  
$().jetmenu();
});
</script>

The
ASKER CERTIFIED SOLUTION
Avatar of kdschool
kdschool

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial