I'm converting some VBS to JS and have come across a line I'm unsure about:
document.all.item(strCheckboxName,i)
As there is no constructor taking 2 arguments for document.getElementById()
, I have no clue of what this instruction was meant to do.
In other words, what is the purpose of the second argument i
here ?
document.all.item(strCheckboxName, i)