Javascript examples for jQuery:Text
Set url for text page to an anchor
<html> <head> <script src="https://code.jquery.com/jquery-latest.js"></script> </head> <body> <li class="next"> <a href="/webcams/tirol/2/a/b">Next</a> </li> <script> $(document).ready(function() { console.log($(".next").attr("href")); });/*from w w w . ja va 2s .co m*/ </script> </body> </html>