Bonjour,

j'ai un plugin jquery damAutoComplete (version simplifié) avec une fonction close:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
(function($, window, document) {
	$.fn.damAutoComplete = function( oInit )
	{
			$(this).autocomplete({
				source: function( request, response ) {
					$.ajax({
						url:  oSettings.oFeatures.url,
						contentType : "application/x-www-form-urlencoded; charset=UTF-8",
						dataType: "json",
						data: {
							featureClass: "P",
							style: "full",
							maxRows: 12,
							name_startsWith: request.term
						}
					});
				},
				delay : 400,
				minLength: 3,
 
				close: function() {
					$( this ).removeClass( "ui-corner-top" ).addClass( "ui-corner-all" );
				}
			});
})(jQuery, window, document);
et je voudrais surcharger la fonction close.
Comment faire ?