Loading ...
Sorry, an error occurred while loading the content.

10043IE drag and drop problem

Expand Messages
  • studmanie
    Feb 27, 2007
      I dynamically generate a table like:

      var row = tblGuests.insertRow(tblGuests.rows.length);
      var td;
      var mydd;
      row.id = "row" + id;
      mydd = new YAHOO.util.DDProxy("row" + id);
      td = row.insertCell(0);
      td.style.width="10px";
      td.innerHTML = "";
      td = row.insertCell(1);
      td.innerHTML = "";

      New drag and drop works in firefox, but when I use it in IE 7 it
      messes up. When I drag a row it and drop it, valid or invalid, the row
      moves out of the table and disappears somewhere else on the page. This
      is with no drop targets, it just moves by itself. Anyone have any idea
      why it does this?