I'm experiencing a very strange behaviour in Firefox.
I have a button with a onclick
Code: HTML
Code:
<button type="button" style="border:solid 0px #FFFFFF; width= 70px; height= 33px; background:transparent; cursor:pointer; " onclick="insertEvent('ValiderDonnees.php', 'Donnee', '', 'Valider')"><img src="../Images/Valider.png" alt="Valider" width="70" height="33" border="0">
The script is
Code: JavaScript
Code:
function insertEvent(FichierAMD, Source, Cible, ParentNoeud){
var source = Source;
alert(source);
var conteneur = ParentNoeud;
alert(container);
}
This works very well with IE, Safari, Opera but not in FF irrespective of the OS (Mac or Windows).
With a onclick alert ( "Hello") everything is working properly.
page is located or the button is loaded via a routine ajax! How can this be explained. Thank you for your help
Bookmarks