How-to articles, tricks, and solutions about INPUT
How to Disable the Resizing of the <textarea> Element?
Use the CSS3 resize property with its "none" value to disable the resizing function of the textarea element. Learn the ways of only vertically or horizontally resizing, too.
How to get the user input in Java?
To get user input in Java, you can use the Scanner class. Here's an example of how to get a string input from the user:
How to Get the Value of Selected Option in a Select Box
Read the tutorial and learn the methods of getting the value of the selected option in a select box using jQuery. Read about the text() and val() methods.
Read this tutorial and learn about several methods of getting the value of the input textbox value without wrapping the input element inside a form element.
How to Hide the HTML5 Number Input’s Arrow Buttons
In this tutorial, you will read and learn several methods that are used to hide HTML5 arrow buttons from the number input with the help of CSS properties.
How to Know which Radio Button is Selected using jQuery
How to Make Button onclick in HTML
If you want to make a button onclick, you need to add the onclick event attribute to the <button> element. Learn How to Make Button Onclick with Examples.
How to Make the Content of Input Start from the Right
Sometimes, you may need to make the content (such as a text or number) of input start from the right. Read and find out what properties to use for that.
How to Make the Text Input Non-Editable
In this snippet, you can find two methods of making a text input non-editable. Use either the HTML “readonly” attribute or add the CSS pointer-events property.