I´m using Simrou javascript routing system
<a href="#!add"></a>
Using Simrou
var editRoute = router.addRoute('!:id');
editRoute.get(function(event, params) {
$this = params.id;
window[$this](); });
Which calls the "add" JS function correctly. So i end up having this url to call "add" function:
http://wwww.test.com/#!add
But JQuery throws this error:
Error: Syntax error, unrecognized expression: #!add
If i remove the "!" it works without errors, but the idea is to have the "!" following Google Ajax crawling. How can i fix this?
Thanks.