JS技术

Javascript实现软键盘_Javascript教程(3)

字号+ 作者:H5之家 来源:H5之家 2015-09-17 17:12 我要评论( )

document.write (' td colspan=\2\input name=\button9\ type=button onClick=\setCapsLock();\ value=\切换大/小写\/td'); document.write (' /tr'); document.write (' tr align=\left\ valign=\middle

    document.write (' <td colspan=\"2\"><input name=\"button9\" type=button onClick=\"setCapsLock();\" value=\"切换大/小写\"></td>');

    document.write (' </tr>');

    document.write (' <tr align=\"left\" valign=\"middle\"> ');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'z\');\" value=\" z \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'x\');\" value=\" x \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'c\');\" value=\" c \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'v\');\" value=\" v \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'b\');\" value=\" b \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'n\');\" value=\" n \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'m\');\" value=\" m \"></td>');

    document.write (' <td> ');

    document.write (' <input name=\"button3\" type=button onClick=\"addValue(\'<\');\" value=\" < \"></td>');

    document.write (' <td> ');

    document.write (' <input name=\"button4\" type=button onClick=\"addValue(\'>\');\" value=\" > \"></td>');

    document.write (' <td> ');

    document.write (' <input name=\"button5\" type=button onClick=\"addValue(\'(\');\" value=\" ( \"></td>');

    document.write (' <td> ');

    document.write (' <input name=\"button7\" type=button onClick=\"addValue(\')\');\" value=\" ) \"></td>');

    document.write (' <td colspan=\"2\"> ');

    document.write (' <input name=\"showCapsLockValue\" type=reset value=\"当前是小写 \"></td>');

    document.write (' </tr>');

    document.write (' <tr align=\"left\" valign=\"middle\"> ');

    document.write (' <td> ');

    document.write (' <input name=\"button2\" type=button onClick=\"addValue(\',\');\" value=\" , \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'~\');\" value=\" ~ \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'!\');\" value=\" ! \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'@\');\" value=\" @ \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'#\');\" value=\" # \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'\');\" value=\" \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'%\');\" value=\" % \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'^\');\" value=\" ^ \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'*\');\" value=\" * \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'|\');\" value=\" | \"></td>');

    document.write (' <td> ');

    document.write (' <input type=button onclick=\"addValue(\'?\');\" value=\" ? \"></td>');

 

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

相关文章
网友点评