Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html public "✰">
- <head>
- <title>Test</title>
- </head>
- <body>
- <div id="foo"></div>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.js"></script>
- <script>
- var x = $('<h3>charge</h3><div class="list-data"><div class="kv-pair" id="id"><h6>id:</h6><h4 class="id">452855591495885</h4></div><div class="kv-pair" id="item"><h6>item:</h6><h4 class="item"><a href="https://slots-prod.sojoapps.com/paymentdetails/coin_pkg_1.htm">coin_pkg_1</a></h4></div><div class="kv-pair" id="Action Count"><h6>Action Count:</h6><h4 class="Action Count">1</h4></div><div class="kv-pair" id="refundAmount"><h6>refundAmount:</h6><h4 class="refundAmount">0.00</h4></div><div class="kv-pair" id="refundCurrency"><h6>refundCurrency:</h6><h4 class="refundCurrency">USD</h4></div><div class="kv-pair" id="Last Action Time"><h6>Last Action Time:</h6><h4 class="Last Action Time">Thu Sep 19 2013 17:11:23 GMT-0400 (EDT)</h4></div></div><div class="list-control"><button class="refund btn btn-danger">Refund</button><button class="more btn">More Info</button></div>');
- var foo = $('div#foo');
- foo.append(x);
- console.log(id);
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement