find the object name by passing id
Id myId = 'a0141000007TF4D'; system.debug(myId.getSobjectType().getDescribe().getName());
apex:actionFunction javascript
Loading message using
Salesforce, Apex
Id myId = 'a0141000007TF4D'; system.debug(myId.getSobjectType().getDescribe().getName());
apex:actionFunction javascript
Loading message using