Thursday, June 26, 2008

onPaste Event handler in JavaScript

This is an simple example for how to user onPaste events in html page
textarea cols=60 onpaste="window.alert('Pasting not allowed!)">
/textarea