Can someone help me understand the use of originalEvent
in JavaScript? I really can't find a good source of documentation about it.
Google results led me to discussion sites that were too complicated to understand for a newbie.
I recently had a question in SO, and a guy answered it by adding this line of code
$(#url).bind('paste', function(e) {
var val = e.originalEvent.clipboardData.getData('text/plain');
....
to my existing code, which worked btw.
I would greatly appreciate if someone can help me understand the use of it.