Thu Jul 06 2023 12:10:11 GMT+0000 (Coordinated Universal Time)
Saved by @gshailesh27
jQuery("#user_email").focusout(function() { var addressinput = jQuery(this).val(); console.log(addressinput); var res = addressinput.split("@"); var username = res[0]; console.log(username); jQuery('#user_login').attr('value', username); });
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments