I have the following html:
<div class="item" data-value="100">Something</div>
Now, I am using the following to find this element:
$( "div[data-value=value]")
Where value
is "100"
. However, I don't think jquery sees the value
as javascript object - I think it takes it as it is. How can I fix this?