Displaying 1 result from an estimated 1 matches for "rowctl".
Did you mean:
rawctl
2007 Jul 20
0
IE6 assigns "undefined" to _counted property when matching
...LineItems() { return $$("#LineItems tbody tr"); }
function addLineItem(e) {
var template = $(''LineItemTemplate'');
new Insertion.Before( template, "<tr>" + template.innerHTML + "</
tr>" );
Event.observe( template.previous().down("a.rowctl"), "click",
removeLineItem );
var _rows = getLineItems();
if ( _rows.length == 4 ) {
_rows[0].down("img").src = "icon_delete.gif";
Event.observe( _rows[0].down("a.rowctl"), "click", removeLineItem );
}
}
function removeLineItem(e) {
//...