Ygo's world About games, gaming and game development and coding in general

30Jan/130

Clear and restore default text in input with jQuery

Today I wanted to put some text in a input for user, so he know what values should type in. When you do that the problem is if user let the field blank you have to reload the text again. The most common is the username input where you want to have “Username” text. After […]