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