jquery - Error: Syntax error, unrecognized expression: #/(test)/test1,test2 -


i have problem jquery (1.11.2). have build url parameters in query string : http://www.myhost.com/my/path/?search=ok#/(testa)/test1a,test2a/(testb)/testb1

but jquery return me "error: syntax error, unrecognized expression: #/(testa)/testa1,testa2"

my code :

$(document).ready(function() {     var url = decodeuricomponent(document.location.href);     console.log(url); } 

i don't see problem, old versions of jquery, there wasn't problems type of url (i'm working ez publish 5).

thank yours answers :).

h,

the cause of error special characters within attribute value


Comments