Hoping this is a simple fix

Hi–

I know I am supposed to link to a web page, but this is such a short line of code that I hoped to just put it here…

I have a button:

<input type=“submit” value=“Submit” name=“submit”>

and I’d like to give its attributes to an existing text link:

<a href="#" id=“submit” class=“link1”>submit</a>

so the text link will do the same job as the button (submit a contact form).

Is it possible to do this?

Any help would be greatly appreciated!