Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] dynamic variables names


  • From: grillo at lazzuri.com.br (Marcelo Simon)
  • Subject: [Javascript] dynamic variables names
  • Date: Tue Jun 24 10:49:09 2003

Hi list, 

It's me again, and I need some help again please.

how can I use dynamic variables name in JS ?

I mean, how do I evaluate the 2 parts so they work ?

if ( i <= number ){
   ['nt_o'+i].src = '../_img/1_nota_0'+i+'_on.gif';
}

thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20030624/1a4f75b2/attachment.html