RESOURCES
Changelog
Session
setFocus()
setFocus()
Instructs the specified hosted field in the iFrame to gain focus.
Usage Copied to clipboard
PaymentSession.setFocus(HostedFieldRole)
Example Copied to clipboard
PaymentSession.setFocus('cardNumber');
Arguments Copied to clipboard
HostedFieldRole
Copied to clipboard
String
The field role for the card field rendered in an iFrame and hosted on the ANZ eGate payment gateway. Valid
field
roles:
cardNumber
securityCode
Return Value Copied to clipboard
None