Posts by Vitor E.C. • 21 points
1 post
-
2
votes3
answers451
viewsA: Insert character at last cursor position inside input
Hello! That’s how it worked! var element = $('#console'); $('#mais').click(function(){ addChar('+', element); }); $('#menos').click(function(){ addChar('-', element); }); function addChar(c, el) {…