I need to create a form with a few inputs when an event happens. My code is below.
Chrome submits fine - the alert box shows and the page changes.
Firefox do
FF requires it to be in the DOM already. Set form to display:none and add it to an existing element in DOM and then submit it.
display:none