1
0
Fork 0
forked from 0x2620/oxjs

make clear input button work

This commit is contained in:
rolux 2011-05-17 09:19:30 +02:00
commit bed3e1ea70
2 changed files with 11 additions and 5 deletions

View file

@ -738,6 +738,11 @@ Ox.Input = function(options, self) {
return that;
};
that.clearInput = function() {
clear();
return that;
}
that.focusInput = function(select) {
select = Ox.isUndefined(select) ? true : select;
self.$input.focus();