I have written a short jquery method that on the keypress event of a text box should change the textbox content to upper case. The method fires and teh alerts show but the case of the text never changes to upper case.
Here is the jquery method
$("#TestText").bind('keyup', function (e) {
var mytext = $("#TestText").val();
$(mytext).text($(mytext).text().toUpperCase());
alert(mytext);
$("#TestText").val() = $(mytext);
});
Can anyone help me and tell me what's wrong??