Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddEventListener
Message
 
 
Information générale
Forum:
Javascript
Catégorie:
JQuery
Divers
Thread ID:
01560661
Message ID:
01560663
Vues:
51
>Hi everybody,
>
>I've noticed that when I changed page using the spinner in the pager control of the flexigrid (I made that change a while ago to use input type="number") the spinner change didn't trigger the actual page change event. BTW, another observation - input type="number" does not seem to disallow entering non numbers.
>
>Anyway, I made a google search and found this interesting article
>http://girliemac.com/blog/2011/11/27/html5-input-events
>
>I went ahead and added the code with addEventListener and was surprised when my flexigrid stopped working.
>
>So then I made another google search on "addEventListener" and found that this is Silverlight event. So, I assume I can not use it in my jquery code.
>
>So, how should I handle the oninput event?
>
>Thanks a lot in advance.

addEventListener didn't work for me (may be because the whole thing was added in run-time), but I added change event handler and this took care of the spinner problem.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform