Forum

jQuery: get hash # ...
 
Notifications
Clear all

jQuery: get hash # from url

   RSS

0
Topic starter

in jquery

1 Answer
0
Topic starter
1
2
            var url = $(this).attr('href');
            var hash = url.substring(url.indexOf('#'));  
            var url = $(this).attr('href');
            var hash = url.substring(url.indexOf('#'));  

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: