0

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:
CODE
window.onload = MyForm;
function MyForm()
{
document.getElementById('formButton').onclick = function()
{
document.getElementById('formQuickSearch').submit();
}
}


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!

by
0 Replies

Recent Posts

in General Discussion at YDN