[Javascript] Hide show a TD

Mike Dougherty mdougherty at pbp.com
Mon Jun 21 11:10:53 CDT 2004


I didn't look at the rest of the code, only the loop snippet.

I agree

>I count it being used no less than 4 times here. Sure in the loop it's only
>setting one particular property, but if you're going to ever expand this to
>do more, you will want to set the instance to a variable so you can
>manipulate properties easier.
>
>Good technique is not always the most efficient in short scripts, but if you
>emphasize it all the time, it will come natural to you and will help out
>greatly in larger projects.



More information about the Javascript mailing list