Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

jquer get url code example

Example 1: jquery get current url

var currentURL = $(location).attr('href'); //jQuery solution
var currentURL = window.location.href; // raw javascript

Example 2: jquery get url

var currentURL = $(location).attr('href'); 
var currentURL = window.location.href;

Tags:

Javascript Example

Related

prase jsonarray code example angular cdk matchmedia code example http laravel get json code example js remove variable from object code example how to check if a word is in a string in java code example javascript program interview questions code example how to take numbers and string input in python code example npm docs mysql code example c# get current logged in user code example windows 10 add virtual desktop shortcut code example ERROR: dependency ‘gert’ is not available for package ‘usethis’ code example css class including other class code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy