So the following code causes
value = '"hello!"'
$(`button[value="${value}"]`)
Error: Syntax error, unrecognized expression: button[value=""hello!""]
I understand this is caused by the value having the double quote. However, the value is set dynamically and we accept value to have double quotes, single quotes...
Is there a way to solve this problem using perhaps other syntax?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…