JSFiddle - React, Tailwind, and code Playground

by TrueBlueAussie

HTML

<table>
    <tr>
        <td class="desc-col">Good Stuff
            <div class="options">
                <ul>
                    <li> <em>Price</em>
$800.00</li>
                </ul>
            </div>
        </td>
        <td class="desc-col">Awesome Stuff
            <div class="options">
                <ul>
                    <li> <em>Price</em>
$200.00</li>
                </ul>
            </div>
        </td>
    </tr>
</table>

JavaScript

var Array = [];
$("td.desc-col").each(function () {
    Array.push($(this).contents().first().text());
});
alert(Array[0]);
alert(Array[1]);