How to append hyperlink to Body tag using jQuery?
<html> <head> <title></title> </head> <body> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script> jQuery('<a>http://sourcecodehub.com/</a>').attr('href', 'http://www.sourcecodehub.com').appendTo('body'); </script> </body> </html>
(Visited 6 times, 1 visits today)