Posted: February 11, 2012 in Random Posts

Java Tutorials

The below function is used to convert the alphabets into uppercase

function convertToUpper(){
var field1 = document.formName.elementName

field1.value = field1.value.toUpperCase();
}

Example :
If the formName is StudentForm and element name is student id like stud100

Then ,
function convertToUpper(){
var field1 = document.StudentForm.StudentId

field1.value = field1.value.toUpperCase();

}

gives the value as STUD100.

View original post

Advertisements
Comments
  1. Eufemia Emory says:

    I went over this web site and I conceive you have a lot of wonderful info, saved to my bookmarks (:.

  2. blackjack basic strategy says:

    Thanks for the auspicious writeup. It in reality was once a leisure account it. Glance advanced to more introduced agreeable from you! However, how can we keep up a correspondence?

  3. hybrid car says:

    I always was concerned in this topic and still am, regards for posting .

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s