Top "Input" questions

Input is usually related to user input, i.e., to the data that user supplies to a running application.

HTML: How to make a submit button with text + image in it?

I would like to have a submit button which contains text and an image. Is this possible? I can get …

html image button input submit
Detect if an input has text in it using CSS -- on a page I am visiting and do not control?

Is there a way to detect whether or not an input has text in it via CSS? I've tried using …

css input is-empty stylish
How to trigger HTML button when you press Enter in textbox?

So the code that I have so far is: <fieldset id="LinkList"> <input type="text" id="addLinks" …

html button input textbox
How to read until EOF from cin in C++

I am coding a program that reads data directly from user input and was wondering how could I (without loops) …

c++ input iostream
javascript remove "disabled" attribute from html input

How can I remove the "disabled" attribute from an HTML input using javascript? <input id="edit" disabled> at …

javascript input attributes
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
How to make <input type="file"/> accept only these types?

I want my uploader only allows these types: doc, docx. xls, xlsx. ppt, pptx. txt. pdf. Image types. How can …

html file-upload input
Why would we call cin.clear() and cin.ignore() after reading input?

Google Code University's C++ tutorial used to have this code: // Description: Illustrate the use of cin to get input // and …

c++ input iostream cin
Image convert to Base64

<input type="file" id="asd"/> I would like to get the image in base64 once the user chose …

javascript jquery file input base64
Difference between <input type='button' /> and <input type='submit' />

What is the difference between HTML <input type='button' /> and <input type='submit' />?

html input types