FreeHostia Forums https://forum.freehostia.com/ |
|
How to create XHTML form? https://forum.freehostia.com/viewtopic.php?f=8&t=66600 |
Page 1 of 1 |
Author: | Thawang365 [ Tue Jul 25, 2023 12:00 pm ] |
Post subject: | How to create XHTML form? |
Create an XHTML document with checkboxes for apple (30 rupees each), orange (10 rupees each), and banana (5 rupees each), along with a submit button. Each checkbox should have its own onclick event handler that adds the cost of the selected fruit to a total cost. Additionally, include textboxes to accept quantity for each item. The event handler for the submit button must produce an alert window displaying the message "Your total cost is Rs xxx," where xxx is the total cost of the chosen fruit, including a 5 percent sales tax. This handler should return 'false' to avoid the actual submission of the form data. Could you please assist me in creating this document with the specified functionalities? |
Author: | bsavov [ Wed Jul 26, 2023 4:30 am ] |
Post subject: | Re: How to create XHTML form? |
Hello, Please note that this is a forum for our hosting only. You might find more information in web developers' forums instead. Thank you for your understanding. Best Regards |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |