How can I get the length of text entered in a textbox using jQuery?

前端 未结 6 1481
-上瘾入骨i
-上瘾入骨i 2021-01-30 04:32

How can I get the length of text entered in a textbox using jQuery?

6条回答
  •  离开以前
    2021-01-30 05:36

    Below mentioned code works perfectly fine for taking length of any characters entered in textbox.

    $("#Texboxid").val().length;

提交回复
热议问题