jquery get href from link code example Example: jquery get link href value $("#mylink").attr("href");