I have an <apex:actionfunction>
that updates a record based on an ID parameter I send it.
<apex:actionfunction action="{!UpdateRecord}" name="UpdateRecord" rerender="Errors" oncomplete="EnableInput();" status="SaveStatus">
<apex:param id="UpdateRecordId" name="UpdateRecordId" value="" assignTo="{!UpdateRecordId}" />
</apex:actionfunction>
Since this ActionFunction is triggered by multiple elements on a page, I want to be able to determine which element caused the ActionFunction to run. Ideally, I'd like to change the CSS class of the element based on whether or not the ActionFunction processed successfully.
Is this possible?