June 1, 201016 yr I have made a very easy to use form for a window cleaning client using JS. Now, rather than all the buttons down the side I want to have one button at the bottom that when clicked collects all the information and sets the cookie. When you click on the image Or what will be the image at the bottom it takes you to another screen that collects the cookie, easy enough. But, I can't get it to display the £0.00 as it should be it is just £0.5 etc. Any help is appreciated guys. Regards, Junior Pages are here: form Quote page
June 2, 201016 yr Looks like you need a simple function to format your total. Try: document.write("<TR><TH>" + "Your total is £" + total.toFixed(2) + "</TH></TR>"); This should work in ie5.5+ and most other current browsers.
Create an account or sign in to comment