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