[jQuery] dynamic input attribute
Hey All,
Jquery noob here...
I would like to select an input checkbox field with a specific name, and
check the box, but that name would have to be dynamic. It seems like I need
to do something like:
$("input[@name=myvariable]").attr( {checked: true });
...but I don't want the string "myvariable", I want the value of myvariable.
Is there a way to do that?
TIA,
Josh
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/