Concatenating mathematical formula with dollar sign
With jQuery, I’m doing some math to calculate a price. The math works, but I want to put a dollar sign in front of it, and when I try adding "$" +
into the code, the math stops working correctly. How can I get the value of #totalprice to include the dollar sign?
Concatenating mathematical formula with dollar sign
With jQuery, I’m doing some math to calculate a price. The math works, but I want to put a dollar sign in front of it, and when I try adding "$" +
into the code, the math stops working correctly. How can I get the value of #totalprice to include the dollar sign?