I want to associate a click handler with a class and then hide the element associated with the particular id that was clicked:
$(".myclass").click(function()
{
$("#myclass_123").hide();
return false;
});
Obviously the code above doesn't work because it doesn't calculate the "_123"
part.
The ids in the class have the same name as the class that they are associated with, but they also have an underscore and a number attached to the end:
Would appreciate any help identifying the id to target.