| View previous topic :: View next topic |
| Author |
Message |
Mupolan
Joined: 30 May 2006 Posts: 101
|
| Good afternoon, I had a simple javascript question that I cannot figure out on Firefox but was successful on IE. What function would I use to go about changing a certain portion of text on a page when someone clicks on a link...ie: "Not Clicked", would change to "Clicked" once they click on a link else where on the site. |
| |
|
|
|
|
Roombor
Joined: 02 Jun 2006 Posts: 111
|
InnerHTML works
Some people frown on it
You may want to lookup a DOM tutorial |
| |
|
|
BigDaddy
Joined: 26 May 2006 Posts: 147
|
| A href="..." onclick="this.innerHTML = 'Clicked'" or something |
| |
|
|
Mupolan
Joined: 30 May 2006 Posts: 101
|
| ty |
| |
|
|
|
|