I have the following code, in which jGrow is not working. I have included Javascript jGrow file. Textarea doesn't adjusts its size according to lengtht of text, instead a scrollbar appears in textarea
<html><head>
<title>jGrow</title>
<script src="jquery.js" type="text/javascript"></script>
<script src="jgrow.js" type="text/javascript"></script>
<script type="text/javascript">
$("textarea#sample1").jGrow({
max_height: "300px"
});
</script>
</head>
<body>
<form>
<textarea id="sample1">Jgrow</textarea>
<input type="submit">
</form>
</body>
</html>