[jQuery] Square brackets in name-attribute
Hello,
a problem I couldn't find a solution for is the following:
I have an input element with the attribute:
<input name="[DUS][1]" />
Getting this element is easy using:
$('input[@name*=DUS]')
But what to do when I try to search for the following:
$('input[@name=[DUS][1]]')
This ofcourse won't work with the square brackets in it.
So how to get attributes like this one?
Thank you very much for your help!!!
Greetings, Marc