摘要: jQuery之简单的表单验证 html部分: <body> <form method="post" action=""> <div class="int"> <label for="username">用户名:</label> <!-- 为每个需要的元素添加required --> <input t 阅读全文