[Rails-spinoffs] Re: Handling Form Elements Best Practices

2007-06-07 Thread Ken Snyder
Terry Riegel wrote: ...I would prefer to not have the id in the form. If I remove it the dollar function doesn't work anymore (for obvious reasons) is there another way to grab the object? I would rather code it as... input type=text name=mycomment ... Hi Terry, I also avoid

[Rails-spinoffs] Re: Handling Form Elements Best Practices

2007-06-07 Thread Terry Riegel
Thanks Ken, I am also in the habit of not naming my forms. So this solution would involve naming the forms. Something I have done in the past. It seems to me this would be common for someone to want to $() a form element, but alas I hear no other solutions. I have another question while

[Rails-spinoffs] Re: Handling Form Elements Best Practices

2007-06-07 Thread Terry Riegel
ahhh just found it its... escape() Thanks, Terry On Jun 7, 2007, at 4:56 PM, Terry Riegel wrote: Thanks Ken, I am also in the habit of not naming my forms. So this solution would involve naming the forms. Something I have done in the past. It seems to me this would be common for

[Rails-spinoffs] Re: Handling Form Elements Best Practices

2007-06-07 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terry Riegel wrote: I would prefer to not have the id in the form. I am also in the habit of not naming my forms. Heh, you seem to have lotta PITA habits ;-) It seems to me this would be common for someone to want to $() a form element, but