The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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:
|
#2
|
|||
|
|||
Quote:
|
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
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 ... |
#5
|
||||
|
||||
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 ... ...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|