2012-08-10 88 views

回答

16

jQuery的暴露其上prototype.fn)版本:

console.log(jQuery.fn.jquery); 

输出用于实例的字符串"1.8.0"

3
// Returns string Ex: "1.3.1" 
$().jquery; 

// Also returns string Ex: "1.3.1" 
jQuery.fn.jquery; 
相关问题