Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
The give jquery not supported in internet exp 8 and 9 version..


C#
$(document).ready(function () {
        var skils = ["Ahmedabad ", "Ambattur", "Aluva", "Banglore", "Baroda", "Calicut", "Chennai", "Coimbatore", "Delhi", "Gandhinagar", "Gujarat", "Hyderabad", "kadavanthra", "Kochi", "Mumbai", "Manglore", "NCR", "Noida", "Palakkad", "Pattambi", "Pune", "Raipur", "Thrissur", "Trivandrum ", "Vapi", "Visakhapatnam", "Vijayawada"];
        $("#txt_Present_job_location").autocomplete({
            source: skils
        });
    });
Posted
Comments
Sumit_Pathak 21-Feb-14 1:02am    
what u mean by not supported.give detail description. if u r getting any console error then write that error in your question and also tell us which js library have u used.
[no name] 21-Feb-14 1:10am    
IT SHOWING THIZ MESSAGE:

Microsoft JScript runtime error: Object doesn't support this property or method

$("#txt_Present_job_location").autocomplete({
source: skils

using : jquery-1.10.2

It has nothing to do with a browser version.

You probably forgot to include jQuery UI file.
Please see: http://jqueryui.com/autocomplete[^].

—SA
 
Share this answer
 
jQuery Autocomplete[^] is part of jQuery UI[^]. You probably haven't included that. It gives that undefined error on other browsers as well if it's not included.
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 21-Feb-14 1:52am    
5ed; I said the same thing (Solution 3).
—SA
Maarten Kools 21-Feb-14 3:49am    
Thanks Sergey!
[no name] 21-Feb-14 2:02am    
k..thanks
another arror showing in autocomplete..Microsoft JScript runtime error: '$.ui.keyCode' is null or not an object

.bind("keydown", function (event) {
if (event.keyCode === $.ui.keyCode.TAB &&
$(this).data("ui-autocomplete").menu.active) {
event.preventDefault();
}
})
Maarten Kools 21-Feb-14 2:33am    
Not sure what the problem is there. I don't have IE 7 or 8 myself, but when I set IE to emulate either one it works fine for me (I know it's not quite he same, but the best I can do). According to the site jQuery UI does support IE7+, so it really ought to work. What version of jQuery UI did you include? Perhaps you can try with older versions of jQuery/jQuery UI.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900