run jquery on each table
- by Tommy Arnold
Below I have some jQuery that runs through each table with the classname = sizetable
I would like to execute this:
$("#frontshade :radio").click(function() {});
But I'm not sure how to replace the "#frontshade" with the id from the array
var table_ids = new Array();
$('.sizetable')
.each(function(e){
table_ids[] = $(this).attr('id');
// JQUERY TO EXECUTE ON EACH TABLE
$("#frontshade :radio").click(function() {};
//
});
Thanks in advance for any answers