I'm trying to make an input field which automatically puts a questionmark at the end of the typed text while typing.
I just came up with this code but obviously it generates multiple questionmarks.
$("#id").keyup(function(){
$(this).val($(this).val() + "?");
});
Thank you for your ideas.