Forum Moderators: open
We'll I just tried out my idea and it seems to work. I don't know if it's the best solution for getting an element By ID but it seems to work in IE6, IE7 and FF (PC & Mac).
function I(i){i=document.getElementById([i]);return i}
I('content').innerHTML = 'Can I get your thoughts?';
Thanks,
Marc
function $(id) {
return document.getElementById(id);
}
$('content').innerHTML = 'Can I get your thoughts?';