Access URL in javascript/jquery?
<p>I want to create a variable for the url location, and change text depending on the input. For example, for bill.google.com, the value of the variable would be bill. For example.google.com, the value of the variable would be example. I don't know how to access the text in the url. Help?</p>
