Changing to lower case letter of text box data with onBlur event
WE can change the case of entered text inside a text box. We can change the text to all uppercase or to all lower case letters as per the requirements. This is done in case of entering user ids in login forms were all ids are stored in either lower case or upper case letters. If user ids are stored as lower case letters then before comparing we need to convert entered id to lower case and show it to the user that this is the case thy have to enter. For example if some one entered user id as John then it is to be converted as john inside the text box.
<input type=text name=type value=''Enter USER ID'' onBlur="change_case();">