I have a button in a form named 'butt'. The following code sets focus to that button...

document.form.butt.focus()


Is there a way to use a similar line to call the click event of the button?

I am trying to automatically send data in a POST actioned form.

Is there any way to do this, if not the above?

Appreciate any help.