Hello this is my first post. So here is my problem.

I have this code:

<form id="myform" name="first_form" action="powerfull_action" method="post">
  <input id="input1" name="quick_action" type="submit">
  <input id="input2" name="slow_action" type="submit">
What i want to do is call input2 with javascript.

I tried:
I don't know how to tell to pick second or the first one.

I searched the net and this forum and came up with nothing. Thanks for answering.