$($(r).find(".BuyPriceBox")).find(".PurchaseButton").data();
Should roughly translate to
r.querySelector(".BuyPriceBox .PurchaseButton").dataset
where r is of type object (node).
60
solved What is the equivalent of this in JavaScript? [closed]