Hello,
I am having one frame & it is having menu items inside it and on clicking that menu one javascript function is called and it replaces content of one html page, I am having one span and I want to replace its contents when user clicks on menu items. But I am unable to access span using its id.
I am trying to replace span contents something like this,
document.getElementById('contentSpan').innerHTML = text;
But I am unable to do so. If I use simple HTML in menu instead of iframe then it works fine. But it doesn't works for iframe. What should be the problem behind it? Please help me.... Thanks in advance...