redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers

Ask your IT question here

javascript clicked



 
Post new topic   Reply to topic    Programming Forums -> HTML forum
View previous topic :: View next topic  
Author Message
Mupolan
Enthusiastic Coder


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.

Reply with quote
 
Roombor
Enthusiastic Coder


Joined: 02 Jun 2006
Posts: 111
InnerHTML works
Some people frown on it
You may want to lookup a DOM tutorial

Reply with quote
 
BigDaddy
Enthusiastic Coder


Joined: 26 May 2006
Posts: 147
A href="..." onclick="this.innerHTML = 'Clicked'" or something
Reply with quote
 
Mupolan
Enthusiastic Coder


Joined: 30 May 2006
Posts: 101
ty
Reply with quote
 
Page 1 of 1
Post new topic   Reply to topic    Programming Forums -> HTML forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group