<html>
<link rel="stylesheet" href="josh.css">
<body bgcolor="#FFFFFF">

		<div id="Description">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">onpaste</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">n/a</span> IE <span class="emphasis">5(Win)</span> DOM <span class="emphasis">n/a</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal"></p>
					</td><td valign="top" nowrap class="requirements">Bubbles: Yes; Cancelable: Yes&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>Fires after the user initiates the <span class="emphasis">Paste</span> command (via the <span class="emphasis">Edit</span> menu, a keyboard shortcut, or a context
menu) to place a copy of the system clipboard into the selected
content. An event handler function for this event can supplement the
paste action by retrieving additional data from the
<span class="literal">clipboardData</span> object (information placed there by
one of the copy- or cut-related event handler functions).
</p>
							</td>
						</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
						<tr>
							<td colspan="2"><p>			To give users access to a <span class="emphasis">Paste</span> menu
command for an otherwise uneditable element, set
<span class="literal">event.returnValue</span> to <span class="literal">false</span> in
the <span class="literal">onbeforepaste</span> event handler for the same
object as the <span class="literal">onpaste</span> event handler. On the other
hand, to prevent user pasting system clipboard content, set
<span class="literal">event.returnValue</span> to <span class="literal">false</span> for
the <span class="literal">onpaste</span> event handler.
</p>
							</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="typicaltargets"><span class="title">Typical Targets</span></td>
				</tr>
				<tr>
					<td colspan="2"><p>			All rendered elements.</p>
					</td>
				</tr>
			</table>
		</div>
</body>
</html>