I have a form populated by ajax, and for manipulation of the frontend, I'm trying to something happen when the div has content, but I can't see the content of the div...only with the console.dir, like the picture, so my questions is how do I console.dir only one parameter (says innerTEXT)?
var abc = document.getElementById('p1tipo');
console.dir(abc);
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<div>
<span id="p1tipo">something AJAX</dd>
</div>