On Thu, 2006-04-13 at 17:40 +1200, worik wrote:
> Friends

More data.  I have been digging deeper.

If I do this...
var e = getElement("rightColumnCellID")
replaceChildNodes(e, default_right_column());

Execution stops after the getElement call.  It fails.

This is on IE.

Worik


> I am replacing the contents of a cell like this:
> 
>  replaceChildNodes(getElement("rightColumnCellID"),  
>                    default_right_column());
> 
> The "rightColumnCellID" is a cell in a table (naturally).  
> 
> This is default_right_column():
> 
> var default_right_column = function() {
> 
>     // The default content for the right column
>     var cont;
>     try{
>         var _r = TR(null, TD(null, 'Rows to display:'));
>         cont = TABLE(null,_r);
> 
>     }catch(ex){
>         dbg_msg("default_right_column exception: "+ex);
>     }
> 
>     return cont;
> };
> 
> This works in Mozilla but not IE.  Apart from the fact that IE is a POS
> what can I do?
> 
> (I am running IE in qemu and the Microsoft Script Debugger does not
> function).
> 
> cheers
> Worik
> 
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to