I have this input field
<input name="Ops[2][Duration]" type="text" value="1" row-number="2">
Which I'm trying to select by name but it seems that
$('input[name=Ops[2][Duration]]');
Gets confused with all the brackets. How can I sort this out ? I tried
$('input[name=Ops\[2\]\[Duration\]]');
But that didn't work either, I still get:
Error: Syntax error, unrecognized expression: input[name=Ops[2][Duration]]