jsTree - v3.0.4 : Failed to execute 'querySelector' on 'Element'

239 views
Skip to first unread message

Mangesh Mandavgane

unread,
Apr 30, 2015, 10:43:33 AM4/30/15
to jst...@googlegroups.com
Hello,
I'm using jsTree - v3.0.4

I'm getting the following error:

Uncaught SyntaxError: Failed to execute 'querySelector' on 'Element': '#\/Trial`Trial' is not a valid selector.'
Uncaught SyntaxError: Failed to execute 'querySelector' on 'Element': '#\/A\!\@\#\$\%\^\&\*\(\)_\+\}\}\{[\]?B'is not a valid selector

I suspect that the issue is because of special char. If it is because of special char then Can I know which special char supports by jsTree???
It is works fine When I use normal chars.

I am waiting for your valuable response.

Thanks and Regards,
Mangesh Mandavgane.

GoogleBar
gControl
GoogleBar
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 
CloudCodes Software Pvt Ltd, 202 - P3, Pentagon, Magarpatta Cybercity,Pune - 411027, Maharashtra. India.  Tel : +91 (20) 65293973, URL : www.cloudcodes.com

Ivan Bozhanov

unread,
Apr 30, 2015, 10:56:38 AM4/30/15
to jst...@googlegroups.com
All special chars are now escaped, use the latest 3.1.0. If you need to stay with 3.0.4 (although upgrading will not cause an issue) - scan the code for "idregex" to see which chars were escaped in that version.

Best regards,
Ivan

Mangesh Mandavgane

unread,
May 5, 2015, 1:38:03 AM5/5/15
to jst...@googlegroups.com
Hello Ivan,
Thank you very much Ivan. It is working now.
Reply all
Reply to author
Forward
0 new messages