Advertisement
TheDeanVanGreunen

example.fix

Mar 26th, 2022
1,279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var checkActiveName = jQuery('#username').val(); // just use the id
  2.  
  3. jQuery(document).on('input', '.woo_login_form', function(){ // bind to the document
  4.     if (checkActiveName == '' ) {
  5.         jQuery('.woo_login_form').removeClass('cdc_keep_active');
  6.     } else {
  7.         jQuery('.woo_login_form').addClass('cdc_keep_active');
  8.     }
  9. });
  10.  
  11. if (checkActiveName == '' ) {
  12.     jQuery('.woo_login_form').removeClass('cdc_keep_active');
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement