How to click links with the same name in Javascript
<p>I am trying to figure out how to click all three of these (not at once, separately) using either Javascript or jQuery. I'm using a Python module that executes Javascript code and trying to make a complicated macro, more or less.</p>

<p>Any help is appreciated!</p>

<pre><code>&lt;div class="buttons"&gt;
&lt;input type="submit" class="form-submit" value="Save" id="edit-submit" name="op"&gt;
&lt;input type="submit" class="form-submit" value="Preview" id="edit-preview" name="op"&gt;
&lt;input type="submit" class="form-submit" value="Save and create another" id="edit-submit-again" name="op"&gt;
&lt;/div&gt;
</code></pre>
