dauruk0512 Posted November 27, 2015 Share Posted November 27, 2015 Hello guys, need some help, quick question here is demo The schema : i have form that should validate by this style cause some reason, all working fine just in tinymce i don't know how to set it in tinymce already googling but not found best solution, please some one review mine Thanks Link to comment Share on other sites More sharing options...
justsomeguy Posted November 30, 2015 Share Posted November 30, 2015 There's a discussion here: http://stackoverflow.com/questions/2212552/how-do-you-set-the-focus-of-a-tinymce-textarea-element Those answers don't seem to agree on the capitalization of tinymce, I'm not sure which is the correct one to use or if they are both defined. Link to comment Share on other sites More sharing options...
john_jack Posted December 29, 2015 Share Posted December 29, 2015 try to prevent default submit : use event.preventDefault(); before the tinyMCE.get('mytextarea').focus() . works for me Link to comment Share on other sites More sharing options...
dauruk0512 Posted December 30, 2015 Author Share Posted December 30, 2015 Thanks already solved Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now