Session
onBlur
onBlur Callback
The onBlur( ) callback invokes the function registered against this event when the hosted field in the iFrame has lost focus.
Usage Copied to clipboard
PaymentSession.onBlur([HostedFieldsRole], function(selector));
Example Copied to clipboard
PaymentSession.onBlur(['cardNumber','securityCode'], function(selector) { //handle blur event });
Arguments Copied to clipboard
HostedFieldsRole
Copied to clipboard
Array
An array of field roles for the hosted fields where the event occurred. Valid array of field roles:
cardNumber
securityCode
callbackFunction
Copied to clipboard
Function
The callback function invoked with the selector for the field whose proxy triggered the event.
Return Value Copied to clipboard
None