Find the first p tag value of a div with jquery? (Next.js + Jquery)
Im trying to find the value of the first <p> tag inside my div when i click a button inside the same div. Note: The $(this) doesn't seem to work. Here's my code: <div className="cartcontainer"> <p key={item.id} style={{ display: "inline-block",…