Displaying 1 result from an estimated 1 matches for "lineitemtempl".
2007 Jul 20
0
IE6 assigns "undefined" to _counted property when matching
...new at the collaborative thing, so I figured here would be a
safer place to write this, as opposed to
The relevant HTML is:
<script type="text/javascript">
function getLineItems() { 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(&...