1
我已經使用可調整大小的jQuery UI插件,下面的代碼:查看事件值jQuery中
$this.on("resize", function(event,ui){
console.log(event.pageX);
console.log(event);
}
我得到的輸出是
undefined
[object Object]
我怎樣才能查看X和Y事件的座標,一般來說,我們如何查看JavaScript中的對象內容?