$(function () {            

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

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

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

 

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