Input is usually related to the user input, i.e. to the data that user effectively supply to the running application. In many systems this input is considered to be potentially dangerous and needs to be sanitized.

learn more… | top users | synonyms (1)

0
votes
0answers
5 views

Pyglet - text input - how to get it's value to a variable?

Is there a relatively simple way of getting text input from the user and store it in variable? Asking for a name via textinput and displaying it on a label for example. I checked out the pyglet ...
1
vote
2answers
25 views

Instantiating variables from form input JS

I have this bit of HTML to get some input. I can validate it, however I don't know how to take in the values and assign them to my own variables. How can I do this so I can reuse the information? ...
0
votes
5answers
67 views

Using multiple selectors?

So I wrote this to take a button and recreate it as an Link with spans inside. However, I cant seem to get this to work for multiple buttons. I end up needing to copy and past the JS and enter in ...
0
votes
2answers
49 views

How can I use cin.get() to detect an empty user input?

I've written some code to detect empty user input: if(cin.get() == '\n') { cout<<"ENTER WAS PRESSED"<<endl; } But for some reason if the user presses ENTER it just keeps advancing to ...
0
votes
3answers
31 views

Add border to text of input field

I am trying to get the following to display the word "Search" with a border underneath the text itself (not the input window). I attempted to use the CSS placeholder as found here How do I Add border ...
0
votes
0answers
39 views

Using the (!cin >> x) to detect wrong user input

This is what I am working with, my code is supposed to read user input which makes sure that the user enters a value of 1, 2 or 0. Any other value and it spits out an arror message which prompts the ...
0
votes
2answers
28 views

How to remove default file input style on IE10?

Here is my file input on different browsers. IE10 uses an horrible default style. Any idea about how to remove it?
0
votes
2answers
7 views

Adding an extra relative value to an input value field

I'm currently creating a form that is very similar to the following code. <form name="test" action="/go/test" method="post"> <input type=hidden name="hotspot_url" ...
0
votes
2answers
31 views

jQuery stop event bubbling on input blur method?

I'm having a problem with jQuery and hoping for your help. I've been searching for a long time for a solution, but came up with nothing. I have a input field, and when I click (focus) on it, some ...
-2
votes
3answers
64 views

Struggling with getchar() function in C

I am trying to replace multiple blanks with a single blank. #include <stdio.h> #include <stdlib.h> #define MAXLINE 500 main() { char text[MAXLINE]; int i; for(i = 0; ...
0
votes
1answer
19 views

Using a file input as stdin for a shell script does not work

I have the following script code: test.sh echo "BEGIN" while read CMD <&1; do [ -z "$CMD" ] && continue case "$CMD" in start) echo "get_start" ;; ...
1
vote
1answer
33 views

Auto size input field

Im working on a header which uses bootstrap. In the header there is a logo, search box and 2 styled buttons. The problem i am having is that on a big resolution screen the search box is fine and ...
0
votes
1answer
17 views

Arabic characters as input in windows phone 8 application

I'm developing one windows phone 8 application which should work in both English and Arabic languages. User can change the language from English to Arabic from application's Settings Page. When user ...
0
votes
3answers
43 views

can i place an input file tag inside a button?

Im currently working on having a button to upload a file, but i dont want to use the default input[type=file] here's my snippet: %button.btn Upload your own %input{ :type => "file", :class ...
0
votes
2answers
42 views

How to change the text color of first select option

I have a select element which has several items. I want to change the color of its first item. But it seems the color only shows when you click on the select dropdown. What I want is changed the ...

1 2 3 4 5 495
15 30 50 per page