0

In my JSF application, I have input fields that take in numbers. And ajax renders to add this number to a total. This all works fine.

However, while doing testing multiple times. The IE Autofill would suggest the same numbers I have been using.

Now, wanting to save time I use them and notice that the total doesn't change.

I was curious if anyone else has had this problem, and if so; how did they fix it?

P.S. I emulate IE7 compat mode through my servlet being sent with the header

Thank you in advance!

Josef E.
  • 2,179
  • 4
  • 15
  • 30

1 Answers1

1

It is an issue with old browsers where they do not fire any events when they autofill the forms.

See also:

How to bind to browser change of input field? (jQuery)

There are some workarounds mentioned here:

See which one suits you better maybe turning off autocomplete on that specific input that needs a change event.

Community
  • 1
  • 1
Ravi Kadaboina
  • 8,494
  • 3
  • 30
  • 42