JSFiddle - React, Tailwind, and code Playground
HTML
<form action="/somewhere" method="post">
<input type="text" name="test" />
</form>
<form action="https://fiddle.jshell.net/somewhere2" method="post">
<input type="text" name="test" />
</form>
JavaScript
var formObj = $('form');
document.write(formObj[0].action);
document.write('<br />');
document.write(formObj[1].action);