Jump to content

HTML Form takes 2 submit button clicks


Mudsaf

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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...