jsdom备忘

createElement
appendChild
parentNode
removeChild
innerHTML
firstChild.firstChild.nodeValue=""
setAttribute
removeAttribute
split
parseInt
getElementsByTagName
indexOf
nKeyDown : function(e) {
		e = e || window.event;

		if (e.keyCode == 13)
			//
	}



你可能感兴趣的:(dom)