Thread
:
Variable GetElementByID?
View Single Post
12-23-2011, 11:06 PM
PM User
|
#
2
xelawho
Senior Coder
Join Date: Nov 2010
Posts: 2,437
Thanks: 52
Thanked 453 Times in 451 Posts
Code:
document.getElementById('myid'+i)
where i is a variable, often changed by a for loop but that's up to you
xelawho
View Public Profile
Find More Posts by xelawho