Hello,
I am using the following code:
I want to use a function to load a page (which above is working) but I want to have a class part of the URL.Code:function test()
{
location.href = "home.htm" ;
}
I know I can use a link on the page like:
But I want to include class="first" part of the javascript function.Code:
<a href="page.html" class="first">Link text</a>
Any ideas?
