I know you can do this with [name] but the problem is that my input name attribute contains square brackets [] inside :(
var thename = 'blah[blah][]'; // <- this value is dynamic
$("*[name='"+thename+"']").each()...
Is there any other method I could select this element by the name field?