[jQuery] Re: add new row to table

2008-06-29 Thread ktpmm5
I tried that and now I get the js error: defaults.TABLE[0] has no properties It's almost like it's trying to add the row to a table in my main page, not my iframe (with my table?). -- View this message in context: http://www.nabble.com/add-new-row-to-table-tp18174322s27240p18180577.htm

[jQuery] Re: add new row to table

2008-06-28 Thread Richard D. Worth
I think all you need to do is change buttons: { 'Volunteer': function() { onclick=add() }, 'Cancel': function() { ... } } to //anonymous function (callback) which calls the add function buttons: { 'Volunteer': function() { add(); }, 'Cancel': function() { ... } } or