//= #require jquery-ui-rails function deleteTableRow(tableID) { if(!confirm('Really delete?')) return; try { var table = document.getElementById(tableID); var rowCount = table.rows.length; for(var i=0; i