Plugin Directory

Changeset 476244


Ignore:
Timestamp:
12/16/2011 06:33:05 AM (14 years ago)
Author:
1tui8
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-alicart/trunk/alicart_javascripts.php

    r476243 r476244  
    7272            if(jQuery(this).is(".phone")) {
    7373                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())) {
    7575                        var errorMsg = "请填写正确的电话号码";
    7676                        $parent.append("<span class=\'prompt onError\'>"+errorMsg+"</span>");
Note: See TracChangeset for help on using the changeset viewer.