form := document.getElementById('myForm'); TJSHTMLElement(form).onsubmit := function(ev: TJSEvent): Boolean begin end; -- Sent from: http://pas2js.38893.n8.nabble.com/