Folks,
Hello from Vermont. Newbie question here. GetHTML works fine for an alert; e.g.
However, if I attempt to assign the output of getHTML to a JS variable, I get the error, Object doesn’t support this property or method:
Thoughts?
Thanks!
Rob
[/code]
Hello from Vermont. Newbie question here. GetHTML works fine for an alert; e.g.
var field = FCKeditorAPI.GetInstance('QuestionTxt');
alert(field.GetHTML(true));
However, if I attempt to assign the output of getHTML to a JS variable, I get the error, Object doesn’t support this property or method:
var field = FCKeditorAPI.GetInstance('QuestionTxt');
var value;
value = null;
value = field.getHTML(true);
alert(value);
Thoughts?
Thanks!
Rob
[/code]

Re: GetHTML works in a JS Alert, gives error if I assign value
Re: GetHTML works in a JS Alert, gives error if I assign value
Re: GetHTML works in a JS Alert, gives error if I assign value
Re: GetHTML works in a JS Alert, gives error if I assign value