help with $(this).val() toUpperCase()
- by rod
Hi All,
Given:
<script type="text/javascript">
$(document).ready(function () {
var str = 'Test';
//alert(str.toUpperCase());
$('#stringFinder').keyup(function (e) {
alert($(this).val()==str.toUpperCase());
});
});
</script>
How do I make $(this).val() all upper case to get a like comparison?
Thanks,
rodchar