DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
getting href value in jquery
$('a').attr('href'); // gets the actual value $('a').prop('href'); // gets the full URL always
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#href
#jquery
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit