Title may not be correct but i didnt know how to ask my question !
I have encountered a problem with this keyword . While using it as in this code <input type="text" onkeyup="this.value=this.value.toUpperCase();"></input>
it works perfectly. But when i allot a function on input element that uses this keyword , it dont work as in
HTML 
<input type="text" onkeyup="up();"></input>
Javascript
function up()
{   
    this.value=this.value.toUpperCase();
}
 
     
     
    