This is a migrated thread and some comments may be shown as answers.

Append event on NumericTextBox?

1 Answer 62 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Helen
Top achievements
Rank 1
Helen asked on 15 May 2012, 06:51 AM
Hi,

Is it possible to append event on numeric text box after it's initialized?

Thanks~

1 Answer, 1 is accepted

Sort by
0
Joseph Roberts
Top achievements
Rank 1
answered on 17 May 2012, 04:10 PM
Not sure if the is the best/correct way, but this is how I'm doing it. 

$('#myinput').on("focus", function ()
            {
                var input = $(this);       
                setTimeout(function () {
                    input.select();
                });
            });
Tags
NumericTextBox
Asked by
Helen
Top achievements
Rank 1
Answers by
Joseph Roberts
Top achievements
Rank 1
Share this question
or