+ 2

Can we auto increase the id of input tag in html

i have some table column where i insert textboxes in td tag. Now i want to increase the id of these tags through loop can anyone suggest me how?

12th Mar 2018, 11:52 AM
Megha Agarwal
1 Answer
+ 2
you can use simple string concatenation or a variable that you increase in your loop
12th Mar 2018, 10:01 PM
Xavier Heugue
Xavier Heugue - avatar