Parses the render options that would be used to submit the given form, but does not render.
Given a form element:
<form action="/?originalUrl=https%3A%2F%2Funpoly.com%2Ffoo" method="post" up-target=".content">
...
</form>
We can parse the link's render options like this:
let form = document.querySelector('form')
let options = up.form.submitOptions(form)
// result: { url: /foo', method: 'POST', target: '.content', ... }'
The parsed submit options.