Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • show you html as well man,? your function does shows alert without homenavmenu.... Commented Jul 11, 2012 at 5:01
  • it should be fine jsfiddle.net/aWgqk Commented Jul 11, 2012 at 5:04
  • You're missing your $ at the front of your dom ready method :) Commented Jul 11, 2012 at 5:11
  • no after i add the $ sign the firebug shows a error says $(function(){}()is not a function Commented Jul 11, 2012 at 5:15
  • $(function() { /* code here */ }); Commented Jul 11, 2012 at 5:16