Is there a way to retrieve the current row number that a user is entering information on using javascript? My goal is to restrict user input once they've reached x number of rows in the textbox. Perhaps there's a better way to do this.....?
Anyway,
I'm using an asp.net webform with the following multiline textbox.
<asp:textbox id="txtComments" onkeypress="rowcount()" runat="server" TextMode="MultiLine" Rows="9"></asp:textbox>
Thank you!
Anyway,
I'm using an asp.net webform with the following multiline textbox.
<asp:textbox id="txtComments" onkeypress="rowcount()" runat="server" TextMode="MultiLine" Rows="9"></asp:textbox>
Thank you!