2009년 10월 1일 목요일

select radio button according to radio value

There're 2 radio buttons




I'd like to choose radio button and check it with jQuery accroding to DB value.
what if DB value is '10'.

>> $("input[name=FS_type]").filter('[value='10']').attr('checked',true);

It doesn't work. Any idea?

댓글 없음: