Techlister

Techlister

Web design and programming

Menu

  • Home
  • Plugins

substring

Get the path of executed Javascript file

Get the path of executed Javascript file

I spent a lot of time searching for jQuery code snippet that could fetch the current url path from where the jQuery file is executed. But jQuery method $(location).attr('protocol') + "//" + $(location).attr('host'); fetches the url of the current page.

pelister Jquery 1 Comment Read more
url shortener and qr code generator
an open source url shortener and qrcode generator
DOWNLOAD
Reverse Text, Flipped Text Generator
  • 3D3D
  • GeneralGeneral
  • GoogleGoogle
  • JqueryJquery
  • LinuxLinux
  • PHPPHP
  • PluginsPlugins
  • WebWeb
  • WordpressWordpress
Copyright © 2023 Techlister.