Hello,
How can i make this work ? Thank you for your help Regards Salvatore <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window id="findfile-window" title="Recherche de fichiers" orient="horizontal" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script type="text/javascript" src="http://jquery.com/src/latest/"></script> <script type="text/javascript"> $(document).ready(function(){ alert("test"); var b = $('#cancel-button').click(function(){ alert("cancel"); }); }); </script> <button id="cancel-button" label="Annuler"/> </window> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/