JQuery event doesn’t work on address fields
-
I’m using the script below to convert some registration fields to uppercase, including shipping and billing first_name and last_name. But with Fluid Checkout plugin it doesn’t work. Without the plugin it works normally. How to make it work in Fluid Checkout?
The billing_email field is working (lowercase). Why?
<script type="text/javascript"> jQuery(document).ready(function($) { jQuery('#account_first_name, #account_last_name, #shipping_first_name, #shipping_last_name, #shipping_company, #billing_first_name, #billing_last_name, #billing_company, #form-field-first_name, #form-field-last_name').keyup(function() { $(this).val(function(i, val) { return val.toUpperCase(); }); }); }); jQuery(document).ready(function($) { jQuery('#account_email, #billing_email, #form-field-email').keyup(function() { $(this).val(function(i, val) { return val.toLowerCase(); }); }); }); </script>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘JQuery event doesn’t work on address fields’ is closed to new replies.