Hi,
I am binding an input event in Javascript.
this.options.textField.on(eventName, $.proxy(this.fn, this) );
There are a list of input events such as 'text', 'keypress', 'keyup', 'paste', 'cut' etc.
We are binding the input events through can.each on input event list.
For all the browsers it is working fine during page load. But only for IE10, its not able to bind the event and directly calling the function fn during page load.
Please suggest the loophole in the above code, if any, causing the issue for ie10 only.
Also, what will be the correct approach for the same so that the code will work for all the browsers including IE10.
Thanks,
Deepak Nayak.
I am binding an input event in Javascript.
this.options.textField.on(eventName, $.proxy(this.fn, this) );
There are a list of input events such as 'text', 'keypress', 'keyup', 'paste', 'cut' etc.
We are binding the input events through can.each on input event list.
For all the browsers it is working fine during page load. But only for IE10, its not able to bind the event and directly calling the function fn during page load.
Please suggest the loophole in the above code, if any, causing the issue for ie10 only.
Also, what will be the correct approach for the same so that the code will work for all the browsers including IE10.
Thanks,
Deepak Nayak.