Show me how to refer retreive the value of of the url in in JavaScript

Show me how to refer retreive the value of of the url in in JavaScript

I have the following code in my index page:

Sokoto State






I want you to show me how I can reference it in my external javaScript file, so that I can assign the value of xlink:href (which happens in this case to be "state.php?state=Sokoto") to a variable


Requirements

Just know JavaScript enough to make this work. Show me how to do it, and immediately it works, I will accept the order as completed


Skills Required

Javascript Ajax

Bids

No bids made yet - be the first!

Bid On Listing

Bid On Listing Created 12 years ago in JavaScript

Other jobs by sarenascott