I've never seen it happen, but I can't confirm it at work, only Windows machines for miles...
Either way, if you do actually want to stop the elements from submitting you might try a work around. Before removing the parent DOM node, do a domNode.getElementsByTagName() for "INPUT" "SELECT" and "TEXTAREA". Look through the returned arrays and set their name attribute to null. This *should* keep the items from ever being submitted. The only hassle come if you want to reshow the removed node and allows the inputs to be submitted again, but then you could just change the nodes visibility/display and clear the input values. -Andrew Martinez -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Louis Walch Sent: Tuesday, October 10, 2006 10:49 AM To: [email protected] Subject: [Rails-spinoffs] Safari DOM Issue (Caching?) Having a bit of an issue with Safari. When i remove an item from the dom (parent.removeChild) input elements inside of it are still being submitted. This is very strange and causing alot of problems. The exact issue is that i have a UL and each LI is a group of inputs. I 'delete' the input by removing the LI from the dom, which should also remove them too. Have you ever encountered this problem? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
