Thank you very much, but i think i wasn't specific enough.
i know to write code for the event.
i don't know where to write it.
If i have a button, i right click on it, and then i use the "code button" on the dialog box, and that opens me the editor, with the cursor on the "button name::onClick"
{
//write your code here
}
but with the onsubmit, i don't know what to write
XDocument.onsubmit?
and where to write it?
thanks