Must be completed in 2 days       This listing has ended.       Willing to pay a maximum of $10
  • 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!

Comments

  • avocable

    Do you only want to assign this value to a js variable or also ajax request? If no assign it to a global variable inside index then use it on external js or parse URL with JavaScript. It Will be more clear If you can give more info

    5 years ago