![]() |
Replicating DIV data in a TEXTAREA
Ok, I am working on a new hack, that needs one teensy little piece finished before I can release it to the world. The only problem is that the WYSIWYG editor isn't really a TEXTAREA; it's a DIV.
I was told that the best way to go about fixing this problem is to replicate the data in the WYSIWYG editor into a hidden textarea. This will solve the problem, and allow my script to execute properly. That being said, I have the following code that is not working. I'm hoping someone can take a looksy and help figure out how to complete this snippet so that it will work properly. Reward will be in the form of a contributor recognition when I release the hack later this evening. PHP Code:
|
Quote:
|
Quote:
|
Unfortunately innerHTML only worksw in IE ... but keep on the track - I'm not fully eau-fait with what you are trying to do, but thought you should know this ...
Feel free to go into more detail in a PM and I'll see what I can find out for ya ... |
Oh - plus you cannot ever have more than ONE entity with the same id - you have two entitys with the ID "message" this will cause a screwup with your getElementsByID javascript ... ...
|
All times are GMT. The time now is 07:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|