Hi ,
 
I am using fck editor.My code is

In php

$oFCKeditor1 = new FCKeditor('textinputValues[6]') ;
$oFCKeditor1->ToolbarSet = 'Basic';
$oFCKeditor1->Width = 785;
$oFCKeditor1->Height = 350;
$oFCKeditor1->BasePath= $GLOBALS['rootRel'].'admin/includes/rte/';
$oFCKeditor1->Value=$invitationtext;
$view_prod->assign("EDITOR1",$oFCKeditor1->CreateHtml());

In html

<form action="{CURRENT_URL}" method="post" name="addtobasket" target="_self" 
enctype="multipart/form-data" onsubmit="return validator();">
{EDITOR1} //fck editor
</form>

In javascript

var itext = document.addtobasket.elements['textinputValues[6]'].value;'

alert(itext);

It shows 'document.addtobasket.elements['textinputValues[6]'].value' is null or 
not an object.
 
Thanks,
Gangadhar


      Download prohibited? No problem. CHAT from any browser, without download. 
Go to http://in.messenger.yahoo.com/webmessengerpromo.php/

[Non-text portions of this message have been removed]

Reply via email to