JQuery selector with JS variable

Post date: Jun 24, 2010 11:10:14 AM

To do subj you need next:

jquery;

some variable;

and this:

$("input[value="+var_name+"]").val(2);

That is how easy it is.