if you want more related search please click here
please help to other
http://scriptquery.blogspot.in/
Limiting MaxLength for TextArea:
------------------------------------
Lastly, it usual to put a textarea on a form and validate maximum number of characters on it.
<!– jQuery: Limiting MaLength for TextArea –>
var MaxLength = 500;
$(‘#txtDescription’).keypress(function(e)
{
if ($(this).val().length >= MaxLength) {
e.preventDefault();}
});
<!– HTML: Limiting MaLength for TextArea–>
<asp:TextBox ID=”txtDescription” runat=”server”
TextMode=”MultiLine” Columns=”50? Rows=”5?></asp:TextBox>
if you want more related search please click here
please help to other
http://scriptquery.blogspot.in/
5:14 AM
Share:
0 comments: