There are two problems using focus
method to give the focus to jqxNumberInput:
1)
The focus is given correctly, the cursor is blinking. But we cannot enter number with keyboar unless we click into the input again even though the input already has focus.
http://jsfiddle.net/jqwidgets/uVetE/
2)
If we use a symbol
and symbolPosition
right, setting the focus will set the cursor an the right side of the symbol:
http://jsfiddle.net/uVetE/69/
Well, I think it is two times the same problem: The cursor is set on the right most side in the input. If we manually click there with the mouse, we can also not enter any number. (Reproduced in Chrome, Firefox. Newest Versions)
Ideally, the cursor would be set on the left hand side of the decimal point position.
What is the best and cleanest way to achieve this?
Thanks in advance,
– badera