Shadowing Posted December 15, 2011 Share Posted December 15, 2011 So i noticed that onfocus lets you have wording in a field that dissapears while you type in the box but what is the reason for putting it on a submit button? <td height="27" colspan="2" align="right" class="cell"><input name="Remove_Ban" type="submit" class="button" id="Remove_Ban" value="Remove Ban" onfocus="if(this.blur)this.blur()" /></td> also how do i post html code so it doesnt show up in a huge box like this Quote Link to comment Share on other sites More sharing options...
trq Posted December 15, 2011 Share Posted December 15, 2011 onfocus has nothing to do with displaying text in an input. With that in mind, your post doesn't make allot of sense. As for posting code, use tags as you have done. Quote Link to comment Share on other sites More sharing options...
Shadowing Posted December 16, 2011 Author Share Posted December 16, 2011 thanks thorpe thats what I thought it was someone elses html code that I used and was puzzled Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.