Soldato
- Joined
- 1 Sep 2005
- Posts
- 10,001
- Location
- Scottish Highlands
How do I get quotation marks to appear in a java script output? I have the code;
Where 30x20 is actually 30"x20", ie inches. But if I put " in it doesn't like it, and if I use " it doesn't like it either. Help?
Code:
if (form.item_size.value == "4_3020") {
form.os0.value="30x20"};
Where 30x20 is actually 30"x20", ie inches. But if I put " in it doesn't like it, and if I use " it doesn't like it either. Help?