The ontimer event is used to define an event in a assigned time period. Let's say you want to display a message after 5 seconds of loading a card, you can use this event to do so.
Here is the syntax to define an event handler for ontimer event:
Here, it means that a task will be performed after 5 seconds.
Let’s see the example showing usage of ontimer event along with <onevent> element.
When you load this program, it shows you the following screen:
Incase if you do not select given Enter option, then after 5 seconds you will be directed to Welcome page and it will display the following screen.
WML Related Interview Questions
|XML Interview Questions||HTML Interview Questions|
|HTML 5 Interview Questions||Adobe Flex Interview Questions|
|Dynamic HTML Interview Questions||XHTML Interview Questions|
|Java XML Interview Questions||XMLHttpRequest (XHR) Interview Questions|
|Advanced jQuery Interview Questions||ebXML Interview Questions|
|WAP Interview Questions||Xml Publisher Interview Questions|
|Security Assertion Markup Language (Saml) Interview Questions||Windows Workflow Foundation Interview Questions|
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.