Magento 2, Magento Development, Customization, Extension Development and Integration, Optimization, SEO and Responsive Design

Magento 2, Magento Development, Customization, Extension Development and Integration, Optimization, SEO and Responsive Design

Get the Hash ( # ) value from url using jQuery or Javascript

Get the value after a hash in the URL of the current page.

var hash = window.location.hash.substr(1);
alert(hash);


Please support us, Like us on Facebook.

0 comments:

Post a Comment

 

Copyright @ 2017 HKBlog.