js problem

Hi guys, i have to develop a very simple submit event for my application but it doesn't work on my preview
After a lot of different scripts I added this one:
window.onload = MyForm;
function MyForm()
document.getElementById('formButton').onclick = function()

but it doesn't work...
I know something there is not accepted by caja so the js is not visible in the page...
Is there someone who could help me?
Thank you!

0 Replies

Recent Posts

in General Discussion at YDN