I have tried putting this to the CKEditor forum but they appear to blank it, so am coming here in desperation.
I use the following script to validate whether someone has added any content to a text area, which also uses the popular, open-source text editor, CKEditor. Without CKEditor it works absolutely fine, but when I use it, it does not recognise the text that has been added until the second click, and so displays the warning message even if text has been added to the textbox.
I have done lots of research on this but cannot understand any of the work-arounds. Can anyone offer any suggestions? My script is: