I have this code
var info = $($(r).find(".BuyPriceBox")).find(".PurchaseButton").data();
which I am trying to change into the JavaScript equivalent
I can't find anything that would resemble ".data()" in JavaScript? Could anyone help me with this, and if kind enough help me translate it to JavaScript?
