Hi,
I've included FCKEditor in my PHP-script, sample:
But I'd like to assign the ID for the default text area, how can it be done?
Next, I will interact with FCK in JavaScript through ID, because script uses document.getElementByID instead of getElementByName
I'd be very glad for any useful assistance ...
I've included FCKEditor in my PHP-script, sample:
$oFCKeditor = new FCKeditor('inputForm') ; $oFCKeditor->Value = 'Place Your information here!' ; $oFCKeditor->ToolbarSet = 'Default'; $oFCKeditor->Height = 450; $oFCKeditor->Create() ;
But I'd like to assign the ID for the default text area, how can it be done?
Next, I will interact with FCK in JavaScript through ID, because script uses document.getElementByID instead of getElementByName
I'd be very glad for any useful assistance ...
Re: How can I assign ID for default text area?
In this code, when I press button (Test) it calls the JavaScript function (getValue), which always return "sample", even though FCK's TextArea has been changed to another content ....
How can I solve this problem?