-1
In the URL, if I leave only dominio.com.br
the site works normally if I put dominio.com.br/#
still working too, but when putting dominio.com.br/#!
the site returns me this error
Uncaught Error: Syntax error, unrecognized Expression: a[href=#!]
in the jQuery file (1.9.0).
You can put an example of code?
– Oralista de Sistemas
Have you tried with another version of jQuery? A newer version?
– Lucas
You’ve seen it working somewhere?
– Tafarel Chicotti
You’re taking the url and going to some function or something?
– bfavaretto
In my opinion, it would be correct to give an error like this, because right after # usually try to access a place inside the html that contains the id... ex:
are.html?#id-3434
then arrow the screen to the height of that place for example a div with id="id-3434" and in that case the problem is that!
is not valid for an id– Tafarel Chicotti
I’ve tried with several versions of IE, from 1.8.2 to 1.11.0.
– RodrigoGalter
It can be a plugin that manages browsing history. Could you provide more details, what plugins and/or frameworks js you are using, if your own code tries to do something with the URL, etc? The way it is, you can’t answer your question, and it would need to be closed.
– bfavaretto