Thursday, January 1, 2009

[jQuery] Re: Avoiding "Find"

> Someone might say why not populating FirstName directly? I can't do
> that since I have other "ObjectMaster"s containing identical TD with
> the same FirstName id, so I have to reach each TD through its parent,
> otherwise I would be populating the wrong TD's.

You should not be using the same id more than once on the same page.
Doing so is a terrible foundation on which to build script.

No comments:

Post a Comment