2009-02-12 9 views

Répondre

6

Si vous travaillez dans .NET, vous pouvez essayer

ScriptManager.RegisterClientScriptBlock(myButton, this.GetType(), "BlockName", "alert('hello world');", true); 
+0

cela a vraiment fonctionné ... merci :) – Chetan

-1

Vous voulez sans doute l'événement onmouseup:

<button onmouseup="alert('You release the mouse button!')">Click me</button> 
Questions connexes