//输入的必须是数字 $(".xzjl").on("keyup", ".num", function () { var v = $(this).val(); if (v == 0 || v.length == 0) { v = 0; } else { v = v.replace(/[^\d]/g, ''); } $(this).val(v); }); function check() { //判断金钱 var amount = $.trim($(
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: Panama"is a palindrome."race a car"is not a palindrome. Note: Have you consider that the