Microsoft
Software
Hardware
Network
Question : JavaScript to find if URL and link are the same and change the style if true!
Basically I'm trying to write some code that looks at every link on a page and if it finds one that matches the URL it will change the style of that link.
The link would be like this..
/one/two/three.htm
And the URL would be...
http://www.number.com/one/
two/three.
htm
I'm guessing something like this needs to be used...
lastIndexOf(substr, [start])
Then both URL and link compared and if they match that link will have its style changed.
Any help would be great!
thanks,
Mark
Answer : JavaScript to find if URL and link are the same and change the style if true!
LOL. Change:
Numbervar OverTotal1;
to:
Shared Numbervar OverTotal1;
in all formulas. No, I can't explain why it didn't work like the first report.
Random Solutions
The marquee progressbar hangs as the next line of the code executes
PHP - session variables lost between subfolders
Oracle Forms 11g - ORA-12154: TNS error
How to configure email for authenticated users + some domains
Remotely verify router is providing wireless Internet
Install issue putting windows 7 on Acer Revo r1600
In vb.net 2008 I need to evluate two columns in ms access to determine if a duplicate field exists
Copy production windows server in to a test machine
Navigate to the page of a specific item on a gridview
Login to SSRS as andmistrator rather than anonymous user.