主题:JS与VS是怎么样结合起来运作的?
为何我在HMTL代码里头写这样的JS
<script language="javascript">
function setSubject()
{
if(form.****.checked)
{......
}
else if(form.***.checked)
{...
}
else
{.....}
}
我在<asp:radioButton>这个控件里写下:<asp:radionButton runat="server" id="rdSell" ontextchanged="javascript:setObject()"></asp:radionButton>
运行后不能正常显示呢?
谢谢!
<script language="javascript">
function setSubject()
{
if(form.****.checked)
{......
}
else if(form.***.checked)
{...
}
else
{.....}
}
我在<asp:radioButton>这个控件里写下:<asp:radionButton runat="server" id="rdSell" ontextchanged="javascript:setObject()"></asp:radionButton>
运行后不能正常显示呢?
谢谢!