阅读背景:

如果用作$(this),如何使用Jasmine测试jQuery for $(“#element-id”)

来源:互联网 

I don't know how to run this Jasmine test for my JS and surely also other ppl have this problem. Maybe I'm doing st wrong or maybe it's impossible - I didn't find any hint on this. The problem has to do with the fact that - in jQuery - $(this) is not the same as the element chosen by e.g. $("#this-id"):I don't know how to run this Jasmine test for m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: