Jquery UI autocomplete doesn't work in IE 10 and lower, but work in all other browsers -


i have field autocomplete. works in chrome, firefox, safari, opera... doesn't work in ie 10. jquery , jquery ui versions follows:

<script type="text/javascript" src="http://diafan/kabinet/js/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="http://diafan/kabinet/js/jquery-ui/jquery-ui-1.10.3.min.js"></script> 

autocomplete initializer:

$('#suname').autocomplete({source: getusers,     minlength: 3,     select: setsearchuser,     focus: function(){return false;},     change: function(event,ui) {         if(ui.item==null)             $('#suname').val('');     }  }); 

and field in html document:

<input type="text" name="suname" id="suname" value="{{ options.uname }}" /> 

ei console dont give bugs.

anything doesn't happen @ all. on others browsers except ie ok. here's function getusers

function getusers(request,response) {     var opts={m: 'orders316',c:'get_users',uname:request.term};     $.post('/kabinet/ajax/request.php',         opts,         function(data,status) {             if(status!='success')                 return false;             if(typeof(data.msg)!='undefined' && data.msg=='ok')                 response(data.users);             return false;         }     ); } 


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -