How to put a visited color on a javascript link?
-
If the hyperlink has JavaScript code in its href property, then IE7 doesnt keep track (history) of those links. For example, if we have following link in a html page href="javascript:__doPostBack('LinkBut… Though the link is clicked many times, color of the link button is not changing to visited link color.
-
Answer:
dont rely on putting your JS in the href part of the link, instead make it href="#" and put your JS in the onClick event, like this: <a href="#" onClick="callJSFunction();"> a link </a>
Pungas at Yahoo! Answers Visit the source
Related Q & A:
- How to put a link on Myspace?Best solution by Yahoo! Answers
- Can someone tell me how to put a backround for my psp and put pictures in it?Best solution by Yahoo! Answers
- How to put a layout on a blog?Best solution by Yahoo! Answers
- How to put a video you recorded onto a DVD?Best solution by Yahoo! Answers
- How to make a link open on a question?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.