MyBB Community Forums

Full Version: Delete contents of username box on click
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, on the welcome block for a guest inside the login boxes it says "username" how can i get the "username" part to delete when the user clicks on it? rather than making them delete it manually?

Thanks.

Reece.
<input type="text" class="loginbox" name="username" value="Username" onclick="this.value='';" />
It removes it already...