Skip to content
Advertisement

Jquery Syntax error, unrecognized expression on attribute selector

I have html div with one attribute.

JavaScript

I tried to trigger click on it via jQuery like

JavaScript

but keep getting error

JavaScript

so any idea how to handle the issue?

Advertisement

Answer

Better to escape everything

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement