Hi

Can anyone help me with something that is confusing me...

I know that in javascript you can reference a HTML object by using:

document.all['blah'] etc

but it i want to dynamically reference the object for example

var strValue = 'divInfo';

document.all[strValue]

I am unable to do this

Can anyone suggest why this might be the case?

Thanks in advance

Sarah