File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes javascript to edit html code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript to edit html code" Watch "javascript to edit html code" New topic

javascript to edit html code

Antony Patric

Joined: Apr 24, 2008
Posts: 7
Could anyone help me...
I visited a site ,and in that when we select a particular topic the link remains to be bold until we select another topic or link.

we can give different looks for the links by using CSS and using the attributes hover,visited,etc but i couldn't find anything with which this is possible.
When I took the source code of the page I could see that the link was mentioned to be bold explicitly.But somebody told me that they used javascript to edit the html code and give the bold view.

I have given the sample source code from the page.


[Eric- edit - added code tags]
[ June 12, 2008: Message edited by: Eric Pascarello ]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
I am not sure what you are after exactly, but take a look at the examples here:

and see if that answers it.

I agree. Here's the link:
subject: javascript to edit html code
It's not a secret anymore!