benjabievres Posted June 4, 2012 Share Posted June 4, 2012 Bonjour, en essayant de régler un problème sur un module, j'ai activé le "Developer Tool" d'IE et j'ai regardé les erreurs de scirpte. Je remarque que j'ai régulièrement l'erreur suivante: SCRIPT438: Object doesn't support property or method 'autocomplete' sur les lignes de scriptes: $('document').ready( function() { $("#search_query_block") .autocomplete( 'http://91.121.118.141/commerce/search.php', { minChars: 3, max: 10, width: 500, selectFirst: false, scroll: false, dataType: "json", formatItem: function(data, i, max, value, term) { return value; }, parse: function(data) { var mytab = new Array(); for (var i = 0; i < data.length; i++) mytab[mytab.length] = { data: data, value: data.cname + ' > ' + data.pname }; return mytab; }, extraParams: { ajaxSearch: 1, id_lang: 2 } } ) .result(function(event, data, formatted) { $('#search_query_block').val(data.pname); document.location.href = data.product_link; }) }); Est-ce un problème connu? Merci d'avance Cdlt Ben Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now