18
rated 0 times
[
22]
[
4]
/ answers: 1 / hits: 21911
/ 13 Years ago, sat, october 1, 2011, 12:00:00
This method detects ctrl + v event but I couldnt find how to get the value of it ?
Thanks in advance,
$(.numeric).keydown(function (event) {
if (event.shiftKey) {
event.preventDefault();
}
switch (event.keyCode) {
case 86:
if (event.ctrlKey) { // detects ctrl + v
var value = $(this).val();
alert(value); // returns
}
break;
}
More From » jquery