• 每日日报2020 12/10


    <%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>校验表单</title>

    <!-- <!-- <script> -->
    <!-- // function check(){ -->
    <!-- // flag=0; -->
    <!-- // var rep =/^[wu4e00-u9fa5]{6,8}$/;//判断字符串是否为字母和数字的结合 -->
    <!-- // var myPattern = new RegExp("^[a-zA-Z]");//以英文字母开头 -->
    <!-- // var username = document.getElementById("username").value; -->

    <!-- // } -->

    </head>
    <body>

    <form action ="Servlet2?method=doGet" method="post" onsubmit ="return check()">

    <table border= "0px" cellpadding="10px" cellspacing="0px"
    style="width :50%; margin:auto;background:rgb(195,195,195)" bordercolor="red">


    <caption>当前位置:添加个人信息</caption>

    <tr>
    <td>ID:</td>
    <td><input type ="text" name ="id" id="id"></td>
    </tr>

    <tr>
    <td>姓名:</td>
    <td><input type="text" name="name" ></td>
    </tr>

    <tr>
    <td>班级:</td>
    <td><input type="text" name="aclass" ></td>
    </tr>
    <tr>
    <td>课程:</td>
    <td><input type="text" name="kecheng" ></td>
    </tr>
    <tr>
    <td>成绩:</td>
    <td><input type="text" name="score" ></td>
    </tr>
    <tr>
    <th colspan ="2">
    <input type ="submit" value="添加">
    </th>
    </tr>
    </table>
    </form>

  • 相关阅读:
    Java中的==和equals区别
    2014年06月30日
    20140625&nbsp;20:39
    20140627&nbsp;20:47
    2014年06月30日
    20140628&nbsp;16:07
    hdu 1418 抱歉 (数学)
    hdu 1302 The Snail (模拟)
    hdu 1391Number Steps
    hdu 1395 2^x mod n = 1
  • 原文地址:https://www.cnblogs.com/song-1/p/14177199.html
Copyright © 2020-2023  润新知