Adding ajax/som event handler programmatically
am 27.01.2008 02:31:56 von Axel GallusI wrote an event handler with
Sys.UI.DomEvent.addHandler($get("MyButton"),"click",myfunc);
function myfunc(event)
{
alert("Hi!");
}
1.) If I write this code as a javascript block after the page under the
closing