Closed calidion closed 11 years ago
- for(var i = 0; i < max; i++) {
a(src='img/' + i + '.gif')
- }
or even
- for(var i = 0; i < max; i++)
a(src='img/' + i + '.gif')
should also work.
I'm guessing you either want an img
tag with an src
or an a
tag with an href
though since adding an src
to an a
tag doesn't make a lot of sense.
thanks.
i want to have a loop in the template, how can i make it?
for i want execute