Tag with transaction value and transaction id fields: onclick="INSERT_FUNCTION_NAME_HERE()"