Jquery Update Trigger dont Work

时间:2016-10-20 12:47:05

标签: jquery

On jquery-1.6.1.min.js trigger works: enter image description here

But on jquery-1.11.3.min.js dont work anymore when I click the element: enter image description here

The log above show´s some difference between am I missing something?

$(keyF2).bind("click", function(){
    var e = jQuery.Event("keyup");
    e.keyCode = 113;
    $('input[aria-label*=Text ]').trigger(e);
    console.log(e)
});

0 个答案:

没有答案