I have MVC2 application and I am trying to automatically resize my Textareafor using Jquery
Code:
<script type="text/javascript" src="../../Content/jquery.autoresize.js">
$(document).ready(function () {
$("#target").autoResize();
});
</script>
<%: Html.TextAreaFor(model => model.QDetail, new { @id="target" }) %>
and in my Content Folder I only have query.autoresize.js
On compiling it gives me Microsoft JScript runtime error: 'jQuery' is undefined error
What am I missing ?
Thank you All