Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function () {
- $(".addValues").click(function () {
- var $this = $(this),
- myCol = $this.closest("td"),
- myRow = myCol.closest("tr"),
- targetArea = $("#selection");
- targetArea.append(myRow.children().not(myCol).text() + "<br />");
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement