文章列表
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="text/javascript" src="../../js/jquery-1.4.2.m ...
//下面表示只可以输入数字和一个点号 $("#price").keydown(function(event){ var code = event.keyCode; if((code >= 48 && code <= 57) || code == 110 || code == 190){ if((code == 110 || code == 190) && $(this).val().indexOf(".") >= 0){ return false; ...
http://www.cavtc.net/jpkc/site-shuxue/course/3_content/10-4.htm