Using the below code:
var value = 2.5;
$el.find('[value=' + value + ']');
I receive this error:
Error: Syntax error, unrecognized expression: [value=2.5]
Is there anything I can do to remedy this? Is it definitely because of the .
in the value
?