Javascript uppercase not working
<p>I am trying to change text input value after user fill it, to uppercase string: </p>

<pre><code>$('#University').blur(function(){
    if ( $(this).attr("value") != '') {
        var uni = $(this).val();
        uni.toUpperCase();
        alert(uni);
        $(this).attr("value", uni);
        };
});

&lt;input type="text" name="Universidad" size="45" class="required" id="University"&gt;
</code></pre>

<p>If I write "leandro" into the field, the <code>alert(uni)</code> throws: "leandro" and not "LEANDRO". Any idea?</p>

<p><strong>I could not use CSS because I must send uppercase data through this form, and css only change the rendering and not the value</strong> </p>
