JS Cambiar la función OnClick

$("#talentselectiontable tr").attr("onclick").replace("driverselect", "talentselect");
Lucas Cayo