Top "Textbox" questions

A textbox is a graphical user interface element which allows for simple input text, usually only a single line of text.

Setting maxlength of textbox with JavaScript or jQuery

I want to change the maxlength of a textbox with JavaScript or jQuery: I tried the following but it didn't …

javascript jquery input textbox
HTML/CSS Making a textbox with text that is grayed out, and disappears when I click to enter info, how?

How do I make a textbox that has a grayed out content, and when I click on it to enter …

html css textbox
Adding new line of data to TextBox

I'm doing a chat client, and currently I have a button that will display data to a multi-line textbox when …

c# .net winforms user-interface textbox
Setting cursor at the end of any text of a textbox

I have a text box with a displayed string already in it. To bring the cursor to the textbox I …

c# wpf textbox cursor-position
How to remove the focus from a TextBox in WinForms?

I need to remove the focus from several TextBoxes. I tried using: textBox1.Focused = false; Its ReadOnly property value is …

c# .net winforms textbox focus
Change the Textbox height?

How do I change the height of a textbox ? Neither of the below work: this.TextBox1.Size = new System.Drawing.…

c# winforms .net-3.5 textbox
How to disable textbox from editing?

I want to use a text box to display some text. I can not disable it, because then the scroll …

c# winforms textbox
jQuery textbox change event doesn't fire until textbox loses focus?

I found that jQuery change event on a textbox doesn't fire until I click outside the textbox. HTML: <input …

jquery events textbox
Press enter in textbox to and execute button command

I want to execute the code behind my Search Button by pressing Enter. I have the Accept Button property to …

c# button textbox enter acceptbutton
Best way to restrict a text field to numbers only?

I'm using the following Javascript to restrict a text field on my website to only accept numerical input, and no …

javascript html textbox numbers textfield