且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在单选按钮中设置必填字段验证器

更新时间:2023-10-12 14:14:22

使用这个java脚本代码





use this java script code


<html xmlns="http://www.w3.org/1999/xhtml">
<head  runat="server">
<title>Validate asp.net radiobuttonlist in JQuery</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js">
</script>
<script type="text/javascript" language="javascript">


document )。ready( function (){
(document).ready(function() {


' #btnSubmit')。click( function (){
if
('#btnSubmit').click(function() { if (