Menu
i am using a link to run a javascript function doit() as follows:
<a href=”javascript:doit(‘fred’) …..> clickfred </a>
working fine except that the user sees clickfred (all names are fictional) underilined as alink, and would normally expect the style to change to the style for vlink. but it doesnt, because, i guess, no link has been visited.
< a href=” onclick= etc
is no good because it changes the main window (which is still to be open).
any bright ideas? can i use javascript to set the style of ‘clickfred’ aftre the click?