var domObj = document.getElementById("demo"); var $Obj = $("#demo");DOM转jQuery: 用$()把dom对象括起来$domObj = $(domObj);jQuery对象转dom对象:$Obj[0]或$Obj.get(0)