Topic: addCreate -> addAssign innerHTML problem
Hello,
I'm having a problem in IE7 (I'm aware I'm using an old version of XajaX)
I'm using an XAJAX PHP function.
A few lines of code from that function:
$objResponse->addCreate('column'.$aComponent['column'],'li','widget-'.$nUserWidgetId);
...
$objResponse->addAssign('widget-'.$nUserWidgetId,"className",$sClassNames);
...
$objResponse->addAssign('widget-'.$nUserWidgetId,"innerHTML",$sWidgetHTML);
...
I create a LI first, later on I set the class.
After that I set the innerHTML of that LI.
In fireFox this works, but in IE7 I think the innerHTML is called too soon because the LI is not filled in the generated source.
Any idea why and any suggestions on fixing this?
Thanks in advance.
Smotsholle.