Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
a CAUsersEmre X Personal Information Personal Information First Name: Last Name: Gender: Male Female Age: Country: [Choose One (alphabetical order)) I verify that the information
a CAUsersEmre X Personal Information Personal Information First Name: Last Name: Gender: Male Female Age: Country: [Choose One (alphabetical order)) I verify that the information given above is correct. Clear Send Q1. Write the html that generates the form on the web page above. Send: is our submit button where form will be submitted with "post" method to a page named "s.aspx" Countries in select element could be listed as: [Choose One (alphabetical orderi, Albania, Cyprus, Nigeria, Senegal, Turkey, Iran and Iraq in alphabetical order. Q2. Add a javascript function named sbmt" to submit the form with the following restrictions. In order to submit the form above: i. Name and Last Name must be specified. Age must be specified and the value must be a valid integer. Country must be choosen from the list. Verification checkbox have to be checked. In case of problem related with: Name : Name must be specified. Last Name: Last Name must be specified Age: Age must be specified and must be a valid integer Country: Country must be choosen from the list. Verification checkbox: Verification have to be done. Messages must be displayed using a "div element just under the buttons and submission of the from must be cancelled Hint: In order to call the function named "sbmt" "submit" event of the form or "click" event of the submit (Send) button could be handled. ii. iii. iv
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started