From ffaad850fd7ecd29ec004bcf4a90e1b0f5be8605 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 25 七月 2025 09:20:13 +0800 Subject: [PATCH] 试卷下单修改 --- CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx b/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx index 90f7940..ea1880e 100644 --- a/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx +++ b/CY_ECommercePlatform/CY.WebForm/Pages/common/CMSHead.ascx @@ -76,6 +76,17 @@ $(this).val("0"); } }); + + $(".validateIntshijuan").live("blur", function () { + var price = $(this).val(); + if (price != "") { + if (!reg2.test(price)) { + alertMsg("璁剧疆鐨勫�煎繀椤讳负姝f暣鏁�"); + $(this).focus(); + $(this).val(""); + } + } + }); }); </script> <script type="text/javascript"> -- Gitblit v1.9.1