How to append Anchor tag to HTML Body Dynamically using jquery


Using JQuery we can add anchor tag to body very easily. This can be possible by the AppendTo JQuery Method.

In the below example, i am appending anchor tag to body using jquery. We can also append div to any class or div using this Jquery AppendTo Keyword.

MainCode:


$('<a href="http://jqueryexamplecode.blogspot.com">JQueryExampleCode.blogspot.com</a>').appendTo('body');


Complete Code:

<html>
<head>
    <title></title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
</head>
<body>

<div id='NewContent' style="color:Green"></div>
<script type="text/javascript">
    $('<a href="http://jqueryexamplecode.blogspot.com">JQueryExampleCode.blogspot.com</a>').appendTo('body');

   
</script>
</body>
</html>


Output:
How to append Anchor tag to HTML Body Dynamically using jquery
How to append Anchor tag to HTML Body Dynamically using jquery

5 comments

A helpful blog for anyone in the SEO services world. Thank you!digital marketing company in india

Reply

We are the most popular online Satta Matka Website that provides the
quick Satta Matka Result and Satta Number. Be in touch with our
website for fastest Madhur Matka, Satta Matka, Madhur Bazar, Kalyan
Matka Tips. We are giving you an opportunity to become a Satta King
using Our Online Satta Matka Result. We welcome you in the amazing
world of Madhur Matka, Satta Matka, Madhur Bazar, Kalyan Matka.This is
official Matka site for real matka players. This is the worlds most
famous Matka website love by people engaged in Satta Bazar in Time
Bazar, Milan Day/Night, Kalyan Matka, Madhur Matka, Satta Matka,
Madhur Bazar, Kalyan Matka. Rajdhani Day/Night Satta, Mumbai main. We,
Satta Matka, provide quickest and Super Results and error free
predictions. We are the only one who can help you big in earning huge
money. Satta Matka is globally renowned website for Satta Com, Gali
Satta, Milan Day and Night Matka Satta results. We are experts in
guessing New Delhi matka and Kalyan Matka results in seconds without
even fraction of errors. Want to check out Satta Matka Live for fix
Satta matka results? Browse and know Satta matka numbers on our
websites. We have been a numero uno player in Satta Matka number
guessing, Satta King, Satta Result, matka number, Kalyan Matka Chart
Result, Kalyan Matka single game, Kalyan Matka fix game, Disawar
Satta, Milan Day Satta, Milan Night Matka, Madhur Matka, Satta Matka,
Madhur Bazar, Kalyan Matka. Rajdhani Day Satta, Rajdhani Night Matka,
Delhi Satta, Ghaziabad Matka, Faridabad Satta Chart, Kuber Matka and
Mumbai Main Satta records and tips As Well.

Reply

SattaMatkaExpert is a leading Madhur Satta Matka website, and it is most visited Satta website where you get latest Info about Matka Satta. Satta Matka is a game used to earn money. In India, it is played on a gigantic scale. It is simple and easy to play. As satta matka game is based on lottery system so there is no way to guess exact number of lottery so doesnт pay to anybody for guessing number. As Kalyan Satta, Kalyan Matka game is based on lottery system so there is no way to guess exact number of lottery so doesnт pay to anybody for guessing. We Provide you here all the chart zone SattaMatkaExpert Chart, Madhur Bazar Chart, Kalyan Chart Milan Day Chart, Madhur Day Chart, Madhur Night Chart, Rajdhani Day Chart , Milan Night, Rajdhani Night Chart as well as Night Time for Main Mumbai Chart, Rukmani Chart ,New Mumbai Chart, Main Bazar Worli chart, Main Barely chart . Satta Matka is leading source of earning without any struggle in Indian Matka. We're here in Order to Supply You Outcomes as Quickly as Possible rather than other website. Here at SattaMatkaExpert the Winner Get Good Amount of Money, and Also get perfect guessing and Tricks at New Main Mumbai Satta, Kalyan Matka, Indian Matka By Our Expert Team Of Guessers. We also provide you the Live Updates for Madhur Night Satta or Madhur Night Matka Guessing Forum Where Our Experience gambling expert Helps You to Quickest Earnings.

Reply

Post a Comment

Complete posts