jquery elementby class and set name
Posted
by tom
on Stack Overflow
See other posts from Stack Overflow
or by tom
Published on 2010-05-05T20:44:35Z
Indexed on
2010/05/05
20:48 UTC
Read the original article
Hit count: 111
jQuery
Hello
can some one help me with code to get element by classname and also change the name
currently ive tried
$('selected').attr("name", 'blah blah');
and also
$('.selected').attr("name", 'blah blah');
noneof these work thanks
© Stack Overflow or respective owner