innerHTML with Opera problem.

admin

Administrator
Staff member
I'm using this to change a message in a DIV

document.getElementById('message').innerHTML = msgAry[no]

It worked as expected in IE5, IE6, and NS7 but nothing happens in Opera 6.01. I read an article that stated that Opera does not correctly support 'getElementById' and that I should use 'document.all' (re: IE4) instead. This did not work either.

Please help! :confused:
 
Back
Top