我有以下代碼,其中jGrow不工作。 我已經包含Javascript jGrow文件。根據文本的lengtht textarea的不調整它的大小,而不是一個滾動條出現在textarea的jQuery插件jGrow不工作
<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>
怎麼回事?什麼是錯誤,你加載jgrow JavaScript文件?使用JGrow 0.4.0版本?請詳細說明一下。 – 2010-06-28 07:12:54