posted 14 years ago
hello,
when i run the above code i get 2 hyperlink initially in blue color. when i click the "link1" the javascript alert window is displayed. the color of the link changed to purple. then i clicked the "link2" the page loaded and displayed google's homepage. now when i go back to the previous page the "link2" hypelink's color changed to purple but the "link1" hypelink color remains in blue.
can any one help me to change the hyperlink color of "link1" to purple as defined in the stylesheet.