zw1971
09-18-2003, 02:18 PM
who can tell me what's the difference between the following 2 popups?
alert(document_index_definition2[0])
var index=2
alert('document_index_definition'+index+[0])
I already defined document_index_definition as an array. why the first popup the value of the array, while the other just gives the 'document_index_definition20'?
Thanks
alert(document_index_definition2[0])
var index=2
alert('document_index_definition'+index+[0])
I already defined document_index_definition as an array. why the first popup the value of the array, while the other just gives the 'document_index_definition20'?
Thanks