jquery get href from a tag code example Example: jquery read href attribute var href = $(this).attr('href');