Session setFocus()

setFocus()

Instructs the specified hosted field in the iFrame to gain focus.


Usage

PaymentSession.setFocus(HostedFieldRole)


Example

PaymentSession.setFocus('cardNumber');

Arguments

HostedFieldRole String

The field role for the card field rendered in an iFrame and hosted on the QNB ALAHLI. Valid field roles:
cardNumber
securityCode

Return Value

None