1.限制只能输入数字$(document).ready(function(){ $("#tt").onlyNum(); }) $.fn.onlyNum = function () { $(this).keypress(function (event) {&
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>test&
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号