Cómo obtener nodeType usando jquery

Quiero obtener nodeType y luego compararlo con donde está el nodo de texto o elemento nodo.

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="jquery-1.7.2.js"></script>
<script type="text/javascript">
$(function(){
    var mm= $('.jj')
    alert(mm.nodeValue)
    })
</script>
</head>
<body>
<div class="jj">value</div>
</body>

Respuestas a la pregunta(5)

Su respuesta a la pregunta