can I click one button and use the action of another?
I have two buttons, and I want to apply one action to another. For example.

    <form>
    
    <input type="submit" />
    </form>
    
    <input type="submit" />

I want to make the second button submit the form, despite being outside of the form.
can I click one button and use the action of another?
===

I have two buttons, and I want to apply one action to another. For example.

    <form>
    
    <input type="submit" />
    </form>
    
    <input type="submit" />

I want to make the second button submit the form, despite being outside of the form.