用javascript实现软键盘

<!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">
<script type="text/javascript" src="keyboard.js" charset="UTF-8"></script>
<link rel="stylesheet" type="text/css" href="keyboard.css">

<title>Insert title here</title>
</head>
<body>
<table cellspacing="5" border="1">
  <tr>
    <td>Cell 1</td>
    <td>Cell 2</td>

  </tr>
  <tr>
    <td>Cell 3</td>
    <td><input type="text" value="" class="keyboardInput" /></td>
  </tr>
</table>

</body>
</html>

 

 

你可能感兴趣的:(JavaScript,html,css)