我需要从母版页检查是否在运行时使用基于特定条件的内容页面中的javascript创建单选按钮组,如果创建我想知道用户选择了什么值。有没有办法做到这一点。
我试图像下面这样做
function computeTotal()
{
outboundTotal = selectedTotal("Outbound");
inboundTotal = selectedTotal("Inbound");
total = outboundTotal + inboundTotal;
}
function selectedTotal(candidateName) {
if(Check if candidatename is created or not in the content page from
master page)
{
if created which radio button is selected by user
{}
}
}