Re: Table Properties not retaining values

  •  09-29-2005, 1:57 PM

    Re: Table Properties not retaining values

    I discovered that when I try to output the var "element", in v4.0 it holds a value, but in 4.2 it is always null.
     
    For example, I tried this:
      var arg=top.dialogArguments;
      var element=arg.element;
     alert(element);
     if(element)
      {
       p_table=element;
      }
     
    So whenever I click the "Insert Table" button, or double-click on a table, I get an alert telling me about "element."  In v4.0, the first time I click Insert Table, it gives me "null."  Then any time I double-click on a table to view the properties, I get "[object]" and the values are retained.  In 4.2, whenever I double-click on a table, it still says "null."
     
    This is telling me that maybe the new values aren't getting written to the element.  I'm not sure why that would be.  I did a compare on the Insert_Table.asp file from v4.0 and v4.2, and they are identical. 
     
    Hope that helps.
View Complete Thread