hi, can anyone help to explain this code.. or is their an equivalent vbscript for this code? please help...don't know about javascript.. thanks in advance..
if(arguments.length == 3){
var result = "<" + arguments[1] + ">";
for (var i = 0; i < arguments[2].length; i++){
result += "<li>" + arguments[2][i] + "</li>";
}
result += "</" + arguments[1] + "l>";
document.getElementById(arguments[0]).innerHTML = result;
}
}