Trying to execute a click event on a button:
$(".pReload", $(this).parent().parent().parent().parent()).trigger();
or
$(".pReload", $(this).parent().parent().parent().parent()).click();
However, it is not executing. The button is loaded dynamically. Is there any way I can use .live?
parent()calls together. Add anidor aclassto whatever element you're trying to select, then use$('#myElementID')or$('.myElementClass')closest.