Tag : hyperlink to Body tag using jQuery

Home » Posts tagged hyperlink to Body tag using jQuery"

 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> ..

Read more