search for: removelineitem

Displaying 1 result from an estimated 1 matches for "removelineitem".

2007 Jul 20
0
IE6 assigns "undefined" to _counted property when matching
...eItems 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) { //alert( Event.element(e).tagName ); //aler...