On Sat, Mar 7, 2009 at 2:16 PM, Josh Powell <seas...@gmail.com> wrote:
>
> Why do you have the [] characters in the name of the elements?  That
> might screw up selectors.

PHP, likely. But there's no need to use the name in the selector.

> Another options is to give the dealAmount inputs a new attribute with
> a value of an incrementing numbers, foo="0" say.  As long as the post
> amounts are in the same order you could:

Why create a new attribute out of thin air when an ID will work just
as well? Bad practice, IMO. Yes, the index would have to be parsed out
but how hard is that?

Reply via email to