I'm trying to change the content of a div (no ID, but it does have a class) contained within another div (has ID and class). I'm getting two errors - "class is not a function" and "html is not a function".
This is utilizing the jQuery 1.7.2 library.
Here is the code I'm trying to write:
<div class="classA" id="ID_#cf variable#">// There are several rows, each with unique IDs that begin with "ID_" //
<div class="classB"> content 1</div>
<div class="classC"> content 2</div>
<div class="classD"> content 3</div>
var targetID = $('.rowFocus').attr('id);
targetID = document.getElementById(targetID);
var stuff = targetID.class('.classD').html();
What am I missing?