Skip to content

Instantly share code, notes, and snippets.

@e-vural
Created July 14, 2015 11:34
Show Gist options
  • Save e-vural/5d64168f3bb105e0348c to your computer and use it in GitHub Desktop.
Save e-vural/5d64168f3bb105e0348c to your computer and use it in GitHub Desktop.
<input size="{{ musteri.adsoyad|length+2 }}" value="{{ musteri.adsoyad|upper }}" onkeyup="f(this)">
function f(bu){
if(bu.size) {bu.size=bu.value.length+2};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment