Changeset 476244
- Timestamp:
- 12/16/2011 06:33:05 AM (14 years ago)
- File:
-
- 1 edited
-
wp-alicart/trunk/alicart_javascripts.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-alicart/trunk/alicart_javascripts.php
r476243 r476244 72 72 if(jQuery(this).is(".phone")) { 73 73 if(jQuery("#phone_section").val()!="" || jQuery("#phone_code").val()!="" || jQuery("#phone_ext").val()!="") { 74 if(isNaN( $("#phone_section").val()) || $("#phone_section").val().length < 3 || jQuery("#phone_section").val().length > 4 || isNaN(jQuery("#phone_code").val()) || jQuery("#phone_code").val().length < 6 || jQuery("#phone_code").val().length > 9 || isNaN(jQuery("#phone_ext").val())) {74 if(isNaN(jQuery("#phone_section").val()) || jQuery("#phone_section").val().length < 3 || jQuery("#phone_section").val().length > 4 || isNaN(jQuery("#phone_code").val()) || jQuery("#phone_code").val().length < 6 || jQuery("#phone_code").val().length > 9 || isNaN(jQuery("#phone_ext").val())) { 75 75 var errorMsg = "请填写正确的电话号码"; 76 76 $parent.append("<span class=\'prompt onError\'>"+errorMsg+"</span>");
Note: See TracChangeset
for help on using the changeset viewer.