Posts by Fernando • 96 points
1 post
-
8
votes3
answers828
viewsA: Separate typed words within an input
You can transform JS to a direct event in Jquery with: $("#fullname").change(function(){ var palavras = $(this).val().split(" "); tamanho = palavras.length; sobrenome = palavras[tamanho-1];…