xLostSoulx
Feb 1st 2008, 8:04 pm
Hello, I have a banner on my website and I wish to be able to change the text inside of that banner. (the text is not within the image) Is it possible to change the variable's text to something else when a link is clicked?
I have tried:
document.getElementById('title').value='Lost Password';
One problem is that "title" is a <a id='title'>Home</a> but on a different page. Example:
The above code is in an iframe, and the <a name='title'> is on a page which has the iframe included. I hope you understand that.
So, does anybody know how I can change the "a id" from Home to Lost Password? I will have to do this for ever page, but it's okay if I can get this to work.
I hope you understand what I mean. Thank you.
I have tried:
document.getElementById('title').value='Lost Password';
One problem is that "title" is a <a id='title'>Home</a> but on a different page. Example:
The above code is in an iframe, and the <a name='title'> is on a page which has the iframe included. I hope you understand that.
So, does anybody know how I can change the "a id" from Home to Lost Password? I will have to do this for ever page, but it's okay if I can get this to work.
I hope you understand what I mean. Thank you.