简体   繁体   中英

Jquery Allow number and text (Uppercase)

I need help how to make my JS allow text with Uppercase? My code now just allow numeric.

Here is my code so far :

$(document).ready(function() {
        $('#status, #accs, #pack_b, #de_no, #de_ser, #n_label, #ac_cord_u').autotab_magic().autotab_filter('numeric');
    });

Thanks for kind help. :)

According to the API docs from Autotab use the following code for Uppercase and numbers

$(document).ready(function() {
    $('#status, #accs, #pack_b, #de_no, #de_ser, #n_label, #ac_cord_u').autotab_magic().autotab_filter('alphanumeric');
});

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM