jquery - Wordpress unrecognized expression: #the-comment-list [class^=delete:the-comment-list] -
i have error
uncaught error: syntax error, unrecognized expression: #the-comment-list [class^=delete:the-comment-list]
on wordpress website http://www.michelepierri.it
this error not allow jquery work in administrative panel.
can me? in advance.
as noted in selectors documentation :
character special character in jquery selectors, , result needs escaped it's treated regular :
character when appears in id, class name, etc. there 2 ways that. generic use 2 backslashes (\
):
$('#the-comment-list [class^=delete\\:the-comment-list]')
however, since attribute value, can same result wrapping in quotes:
$('#the-comment-list [class^="delete:the-comment-list"]')
Comments
Post a Comment