I have asp.net button and I want to create a QUnit test that will first create mouseover and then show an alert. How to do this. I tried
test("mouseover",function(){
$开发者_运维知识库("#buttonid").mouseover(function () {
alert('mouseover');
test(true,"Done");
});
});
but it doesnt work.
I used Qunit.trigger event and it solved my issue.
Thanks all.
精彩评论