I'm trying to create some html with a variable that can be adjusted.
<p>Bank Account:$</p> <p id="bankaccount">1000</p>
Not sure how I would do this. I want the value of 1000 to appear beside of Bank Account:$. However since both are in separate p tags, I can't figure it out. I would also like to save the value to a javascript variable.
EDIT* I figured to just create the entire string in Javascript. Easier to piece together.