event.type
S2C Home « Objects « event.type
Event description property.
Description
The event.type
Event object property, contains the value of the description of the event.
Syntax
Signature | Description |
---|---|
event.type | The value of the description of the event. |
Parameters
None.
Return
A String
object.
event.type
ExampleTop
Contains the value of the description of the event.
When we click the button below the first time a message is output displaying the description of the event type.
$(function(){
$('#btn8').one('click', function(event) {
$('#div6').append('Event type is: ' + event.type);
});
});
div6. Some initial text.