How to select attriute value with jQuery/CSS
<dt onclick="GomageNavigation.navigationOpenFilter('price-left');">
As regular it must be db[onclick="GomageNavigation.navigationOpenFilter('price-left')"]
but is not working. Any idea?
It should be dt, not db also missing double quote at the end
Change
db[onclick="GomageNavigation.navigationOpenFilter('price-left')]
to
dt[onclick="GomageNavigation.navigationOpenFilter('price-left');"]
// ^here also missing quote and semicolum ^^
You need to escape the quotes when selecting in jQuery so it would look like this
$("dt[onclick=\"GomageNavigation.navigationOpenFilter('price-left');\"]")
onclickattribute? That's very fragile and a bad practice.