I have some simple code that removes some table rows and works in
Safari, Firefox, and IE (except for the fade effect):
function remove_invoice_line(cell) {
var data_row = Element.extend(cell).up('tr');
var form_row = data_row.next('tr');
form_row.remove();
Effect.Fade(data_row, {afterFinish: function ()
{ data_row.remove() }});
}
Nevertheless, if those rows are inserted dynamically, the same code
fails in IE 6. I am using the Prototype that comes with Rails 1.2.2.
Is this a known issue? Otherwise I would post the insertion code.
-- fxn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---