whenever i put uppercase() method it displays an Error
<script type="text/javascript">
(function() {
$('button').click(function() {
var tt = $(this).text().toUppercase();
console.log(tt);
$('link').attr('href', tt + '.css');
});
})();
</script>
this is the display on the console
Uncaught TypeError: undefined is not a function