Uncaught Error: Syntax error, unrecognized expression:
See original GitHub issueThere is a problem with parsing html from ajax content,
Console return
Uncaught Error: Syntax error, unrecognized expression: <my html ...>
to avoid this situation you should replace
data:data,
with:
data: $.parseHTML(data),
in line 1033
Issue Analytics
- State:
- Created 10 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
jQuery: Uncaught Error: Syntax error, unrecognized expression
Here It shows how to do that in Jquery's error dump. In my case id was empty and $("#" + id); ; produces...
Read more >JQuery Syntax Error Unrecognized Expression - Kevinleary.net
This error occurs when you are trying to select something with an invalid selector. jQuery 2.x and 3.x handle Sizzle related errors differently ......
Read more >Uncaught Error: Syntax error, unrecognized expression
Hello everyone, I'm using jQuery v3.3.1 and I have a drad and drop function that is giving some users an error which i...
Read more >Jquery error Uncaught Error: Syntax error, unrecognized ...
I added the following line to my JS code that runs with the app, and it seems to fix the issue: shinyBS.inputBindings.modal.initialize = ......
Read more >How to fix error "Syntax error, unrecognized expression
Hi,. I'm working with Traditional web app OS11 and I'm having a problem, hope you guys can help me fix it.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Or if you get this error on inline content it could be because you’ve simply put # in the href attribute.
Sorry for reopening this thread after a while. I have a similar problem but in my case I am using inline mfp. The problem arises when I use a mobile device. Could you help me? @texelate