Display object contents - JS/jQuery

前端 未结 4 608
走了就别回头了
走了就别回头了 2021-02-05 21:51

With $(this).data(\"events\"); returning [object Object], I need to see what\'s actually going on in there. I found this:

var Finder =         


        
4条回答
  •  再見小時候
    2021-02-05 21:59

    Print content of object you can use

    console.log(obj_str);
    

    you can see the result in console like below.

    Object {description: "test"} 
    

    For open console press F12 in chrome browser, you will found console tab in debug mode.

提交回复
热议问题