i am have a table and there are some data in tables, and i have a refresh button in the last column of every row.
what i want is when i click some refresh button in some
$(".b1") and $(".b2") are selecting every element with that class. You need to filter based on the row the button is in using something like this:
$(".b1")
$(".b2")
$("button").click(function(){ var $row = $(this).closest("tr"); $row.find(".b1").load("content.txt"); $row.find(".b2").load("content1.txt"); });