I'm having some problem with calling setHTML in a dynlayer.
The error I'm getting is:
  Unexpected call to method or property access.
My debugger indications that the offending line is...

  DynLayer.prototype.setHTML=function(html,noevt) {
    this.html=html?html:'';
    if (this.css==null) return;
    this.invokeEvent("beforeload");
    this.elm.innerHTML=html;    <<<<<<<< THIS ONE 

  The value of this.elm.innherHTML is
    ""
  The value of html is
    "<table border=0 cellpadding=1 cellspacing=0><TR><td nowrap><font
face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"-1\"
color=\"#000000\"><a href=\"javascript:parent.navigate(0,'root',0)\"
id=\"nolinksBlack\">-&nbsp;</a></font></td><TD nowrap><font face=\"Verdana,
Arial, Helvetica, sans-serif\" size=\"-1\">Kovair Software
...</font></td></tr></table>"

  Is this some type of timing error where this.elm has not settled before I
try
  to make an assignment to it?  Anyone know how I avoid the problem?

--Dave

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to