AutoComplete / Autocomplete in IE 11 and Safari

We have some problems with IE 11 and Safari users on our verification page. We sell 3 different types of ticket packages. The statement form (in addition to credit card information, contact information) contains the number of fields for tickets:

qtyA1
qtyA2
qtyA3
qtyA4
qtyB1
qtyB2
qtyB3
qtyC1
qtyC2

where the user can specify one or more ticket packages that he wants to order. The user can enter several ticket packages using the keyboard or using the + and - buttons. Each of these fields is defined in HTML, for example

<div class="input-group">
<div class="input-group-addon input-group-addon-button" data-controls="qtyA1" data-add="-1">-</div>
<input type="text" min="0" max="9" maxlength="1" class="qty form-control input-group-button-input" autocomplete="false" name="qtyA1" id="qtyA1" data-ticket-type="A" data-price="10.00" data-ticket-qty="2" value="">
<div class="input-group-addon input-group-addon-button" data-controls="qtyA1" data-add="1">+</div>

(there are 9 such fields, so I won’t insert them here).

2 . , 5 . , , , , / . POST :

qtyA1=1
qtyA2=1
qtyA3=1
qtyA4=1
qtyB1=1
qtyB2=1
qtyB3=1
qtyC1=1
qtyC2=1

. . 1 x qtyA2, 2 x qtyA1. , . .

script, , Chrome, Firefox , , , Safari.

IE ( ).

:

  • , IE 11 Safari,
  • 80% - 55+ , 60% - 65 +
  • 60% , 2/3 QTY.
  • 80% VISA
  • , .
  • 11,8% IE 9-11
  • 31.7% Safari
  • , IE 0.038%
  • , Safari, 0,014%

, :

  • IE () Safari.
  • ( , ) - , .
  • , 20% .
  • , (3-5 ). , / ? , .
  • JavaScript .

: ?

+4
1

. , , .

:

1) BrowserStack , .

, , , :

a) algorightm, .

b) , js

c) :

, , " ", - :

window.setTimeout(function() { handlevalues(); updateSuggestions();}, 500);

, - , .

+2

Source: https://habr.com/ru/post/1679254/


All Articles