It is currently Wed Jan 27, 2021 10:03 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Can someone please post a solution to this question!!
PostPosted: Fri Jun 19, 2020 2:42 pm 
Newbie
Newbie

Joined: Fri Jun 19, 2020 2:33 pm
Posts: 1
Develop an XHTML document that has checkboxes for apple (30 rupees each), orange (10 rupees each), and banana (5 rupees each) along with submit button. Each checkboxes should have its own onclick event handler. These handlers must add the cost of their fruit to a total cost. An event handler for the submit button must produce an alert window with the message ‘your total cost is Rs xxx’, where xxx is the total cost of the chose fruit, including 5 percent sales tax. This handler must return ‘false’ (to avoid actual submission of the form data). Modify the document to accept quantity for each item using textboxes.tweakbox appvalley https://vlc.onl/


Last edited by bormikstel on Sat Jun 20, 2020 9:36 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Can someone please post a solution to this question!!
PostPosted: Sat Jun 20, 2020 4:43 pm 
Site Admin

Joined: Sat May 31, 2008 1:56 am
Posts: 463
Hello,

This forum can not offer such suggestions and it is pointed to our shared hosting services and websites hosted on it only.
Thank you for your understanding on this matter.

_________________
Best Regards,
Miles
ModeratorsTeam
Freehostia.com


Top
 Profile  
 
 Post subject: Re: Can someone please post a solution to this question!!
PostPosted: Wed Jan 20, 2021 9:53 am 
Newbie
Newbie

Joined: Wed Jan 20, 2021 9:43 am
Posts: 2
bormikstel wrote:
Develop an XHTML document that has checkboxes for apple (30 rupees each), orange (10 rupees each), and banana (5 rupees each) along with submit button. Each checkboxes should have its own onclick event handler. These handlers must add the cost of their fruit to a total cost. An event handler for the submit button must produce an alert window with the fmwhatsapp apk message ‘your total cost is Rs xxx’, where xxx is the total cost of the chose fruit, including 5 percent sales tax. This handler must return ‘false’ (to avoid actual submission of the form data). Modify the document to accept quantity for each item using textboxes.

Hi there here I have found two exercise's example and I hope it will be helpful to you.

Data from exercise 5.4

Develop and test an HTML document that is similar to that of Exercise 5.3. In this case, use text boxes rather than checkboxes. These text boxes take a number, which is the purchased number of the particular fruit. The rest of the document should behave exactly like that of Exercise 5.3.



Data from exercise 5.3

Develop and test an HTML document that has checkboxes for apple (59 cents each), orange (49 cents each), and banana (39 cents each), along with a Submit button. Each of the checkboxes should have its own onclick event handler. These handlers must add the cost of their fruit to a total cost. An event handler for the Submit button must produce an alert window with the message Your total cost is $xxx, where xxx is the total cost of the chosen fruit, including 5 percent sales tax. This handler must return false (to avoid actual submission of the form data).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011