Jump to content

HTML Form takes 2 submit button clicks

Recommended Posts

You have a whole lot of scripts running on the page. My browser stopped listening to clicks and keystrokes on your page at one instance and I had to refresh.


What I've found is that the <textarea> element that your TinyMCE editor is attached to does not get the value until after your submit handler has worked. It seems that TinyMCE has a submit handler as well and that its handler is only being executed after yours is. My proposed solution is to read the documentation to see if TinyMCE has a feature that lets you tell it when to fill in the textarea, then put that into your submit handler.

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...