I have two iframes on a page that display a table which contain checkboxes that when ticked delete the row.
Everything works fine expect when I sort one of the tables in the iframe. I set the id attribute each time and when I view the HTML in a debugger the row id is set to the new id.
When I select the checkbox to delete the sorted row using
[CODE=javascript]var frameName = document.getEle mentById('view1 ').contentWindo w;
frameName.docum ent.getElementB yId(rowId).rowI ndex;[/CODE]
I get an object error, any idea’s ?
Everything works fine expect when I sort one of the tables in the iframe. I set the id attribute each time and when I view the HTML in a debugger the row id is set to the new id.
When I select the checkbox to delete the sorted row using
[CODE=javascript]var frameName = document.getEle mentById('view1 ').contentWindo w;
frameName.docum ent.getElementB yId(rowId).rowI ndex;[/CODE]
I get an object error, any idea’s ?
Comment