Add a DISABLED attribute to the form element and it will not be submitted. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen Verhagen Sent: Thursday, August 03, 2006 12:10 PM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] creating a recycle-bin
Hi Tim, On 8/3/06, Tim Bellinghausen <[EMAIL PROTECTED]> wrote: > > for an project of mine I also needed an trash. I solved this with using > an <ul> as the trash and made it also an sortable and set the > "containment" property for the sortables. With this it is possible to > drag my items to the trash and if done so, the "onUpdate" function sets > the "display" property to none. This would work, but the items that I want to delete also contain textarea, so form elements that I do not want to be submitted. So somehow i have to completely removed those elements from the DOM. Thanks, Jeroen _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs