Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2011-07-30 22:13:24

balsoft
New member
Registered: 2011-07-30
Posts: 1

sethtm() error in IE

Hi i'm using xinha 0.96 setHTML is working FF but not runnig IE7-8-9 error message is setHTML Can not get property value: The object is empty or undefined how can i solve this problem my code is

var _editor_url  = document.location.href.replace(/index\.php.*/, '')
var _editor_lang = "en";
var xinha_plugins =
[
'Linker'
];
var xinha_editors =
[
  'myTextArea'
];
function xinha_init()
{
  if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;

  var xinha_config = new Xinha.Config();

  xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
    Xinha.ie_version;
  Xinha.startEditors(xinha_editors);
}
Xinha.addOnloadHandler(xinha_init);   
xinha_editors.myTextArea.setHTML('');

Offline

#2 2011-08-04 21:29:49

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: sethtm() error in IE

Upgrade to latest trunk and try there.  Also search forum here for IE9 problems.


James Sleeman

Offline

Board footer

Powered by FluxBB