there are some jQuery basics I'm missing:

Code JavaScript:
alert($data);
// returns [object Object]

Code JavaScript:
alert($data.htm());
// returns arg $data = 
//                    <img src="img/boat_2_view.png" alt="" height="" width="" class="test">
//                    <p class="color">Lime</p>
//                    <p class="msrp">MSRP <span>$1045</span></p>
//                    <p>
//                        third boad third boad third boad third boad third boad third boad third boad
//                        third boad third boad third boad third boad third boad third boad third boad
//                        third boad third boad third boad third boad third boad third boad third boad
//                        third boad third boad third boad third boad third boad third boad third boad
//                    </p>

what do I have to do to make a variable equal to the images class?

In other words how can I pull information out of $data?