There are a bunch of ways you could do it. You could have a <form> tag on each row and then have a hidden form element that contains the ID and then your javascript could find the parent form for the selected price and then drill back down into that form to find the associated hidden form element to include it in your AJAX form submission.