I use firebug to see the following code,
<input type="text" oncut="return false">
then try to get the return value of the event oncut,
var a=document.querySelector('input[type="text"]');
document.write(a.oncut);
I want to get the return value of oncut: false, however , I get the definition of the function oncut,as follows,
function oncut(event){
return false;
}
How can I only get the return value "false" from the event oncut?