In Javascript you can build HTML and use $(formElement).submit() to submit your HTML in a browser. I\'m trying to do the same in Swift but get a blank screen. I\'m not tryin