logicslab
asked on
Setfocus to tinyMCE editor
Hi Friends,
I have a PHP page and it having three textareas. And many users of that page create four more textareas dynamically(I wrote this using dom). And i want to give tinyMCE feature to all textareas.
Now i having two issues.
1) I can't set foucs to any of the text Area using Javascript.
2) While creating new textarea am calling tinyMCE Init, to assign tinyMCE to newly created textarea.
But when posting the page i only get the value of lasted created Textarea other textareas having
blank values.
Pls help
I have a PHP page and it having three textareas. And many users of that page create four more textareas dynamically(I wrote this using dom). And i want to give tinyMCE feature to all textareas.
Now i having two issues.
1) I can't set foucs to any of the text Area using Javascript.
2) While creating new textarea am calling tinyMCE Init, to assign tinyMCE to newly created textarea.
But when posting the page i only get the value of lasted created Textarea other textareas having
blank values.
Pls help
ASKER
I don't get any javascript errors and each textarea's name is different.
Thank you
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@logicslab: Would you please explain the grade of "C" - If you understand the grading guidelines, this is insulting. If you do not understand the guidelines, please read them and consider whether your grade is in consonance with the letter and spirit of the EE community. In particular, you should NEVER give a grade of "C" without attempting to give the Experts a change to help you further. Thank you, ~Ray
Here is the link to the grading guidelines:
https://www.experts-exchange.com/help.jsp#hi403
Please also see the nearby paragraph entitled, The correct answer to some questions is "You can't do that."
Here is the link to the grading guidelines:
https://www.experts-exchange.com/help.jsp#hi403
Please also see the nearby paragraph entitled, The correct answer to some questions is "You can't do that."
2) Do the textarea's have different names of the same? If they are the same, you only get the last indeed.