$(function () {            

$("input[name='RadioType']").each(function () {                

if ($(this).val() == '<%: ViewData["RadioType"]%>') {               

      $(this).attr("checked", "checked");                 }             })         })

 

posted on 2012-11-05 00:26  莫等闲也  阅读(132)  评论(0)    收藏  举报