Exec this command for enable full text search, working with SQL Server 2008 and above version.
exec sp_fulltext_database enable
exec sp_fulltext_database enable
$(document).ready( function( ) {
$("textarea").each( function( i, el ) {
$(el).height( el.scrollHeight );
});
});
Example 4:
If you want to use jquery plugin then
<script src="Scripts/jquery.autosize.min.js" type="text/javascript"></script>
<script language="javascript">
$(function () {
$('#txt').autosize();
//$('#txt').autosize({ append: "\n" });
});
</script>
<form id="form1" runat="server">
<div>
<textarea id="txt"></textarea>
</div>
</form>