I have the following javascript code in a HTML document which loads Html in a div:
<script> $(function(){ $("#submenu a").click(function(){ var page = this.hash.substr(1); $.get(page+".html",function(gotHtml){ $("#contenedorprincipal").html(gotHtml); }) }); }); </script> In Firefox it runs perfectly, but in Chrome and IE it does not work. Any ideas or suggestions?
hashproperty is not implemented in Chrome/IE...