Bonsoir,
Je me retrouve avec le code suivant :
Et en fait je ne comprends vraiment pas ce que représente le (hsid) de la dernière ligne (avec .end()) ... pouvez-vous m'éclairer s'il vous plait ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 // "add-to-dropbox" event .find('.hierarchical-select .add-to-dropbox').unbind().click(function(_hsid) { return function() { Drupal.HierarchicalSelect.update(_hsid, 'add-to-dropbox', { opString : addOpString }); return false; // Prevent the browser from POSTing the page. }; }(hsid)).end()
Merci d'avance pour votre aide.
Bien cordialement,
Kaory
Partager