Tagged Questions
1
vote
2answers
402 views
Get value of <input type=“number”> with JS when it contains non-numeric characters
This jsfiddle demonstrates the following issue.
The simplest example is:
<input id="number" type="number" value="1">
console.log(document.getElementById('number').value);
This logs 1 as ...
0
votes
1answer
808 views
html5 input type text with regex for pattern in mobile
Hi so I'm trying to get a pattern for an input type text that shows numbers and a dot. Going over the apple documentation I see that one can use basically regex to pull only numbers in the keyboard. ...
1
vote
1answer
207 views
Opera 12.14 border-radius on <input /> not working
I am trying to make a simple login kind of page and trying to make it cross browser and, tho I am still at the beginning, I already found a problem that I don't find any answer at.
I am trying to make ...
1
vote
2answers
649 views
HTML text input size
I have a text input created dynamically with javascript where I am putting some text with javascript also.
I would like to make the text input size variable, dependent on the text length and with ...
0
votes
4answers
812 views
What is -ms-clear equivalent in WebKit and Mozilla?
As shown here: http://msdn.microsoft.com/library/windows/apps/Hh465498
Do Mozilla and Webkit have equivalent options? The clear button on text inputs is good for touch screen apps. I don't want any ...
1
vote
2answers
239 views
IPad text input types - labels in input
If you look at this link you will see an ipad type of text boxes.
Notice how the label is actually inside of the button.
I was wondering if there is something similar in JQuery Mobile as I have not ...
0
votes
1answer
752 views
HTML5 drag and drop for inputs
I'm experimenting with HTML5, making html elements draggable. It worked on button, but not on text input, the same exact code. Any reason for this? It calls the dragstart hadnler, but right after it ...
0
votes
3answers
398 views
How to detect if some text box is changed via external script?
I have some jQuery plugin that changes some elements, i need some event or jQuery plugin that trigger an event when some text input value changed.
I've downloaded jquery.textchange plugin, it is a ...