onkeyup - Key Up Script

Activates an event handler when a control receives a key release.

Category

events

Syntax

<xp:eventHandler event="onkeyup" attributes>content</xp:eventHandler>

Usage

For detailed event handler syntax, see eventHandler - Event Handler (property).

Examples

This button has a client handler for the onkeyup event. The client handler sends an alert to the user.
<xp:button value="Test" id="button2">
	<xp:eventHandler event="onkeyup" submit="false">
		<xp:this.script>
			<![CDATA[window.alert("This control does not accept keystrokes.")]]>
		</xp:this.script>
	</xp:eventHandler>
</xp:button>