Posts

Showing posts from March, 2020

get value from object in JavaScript

Image
How to get value from object in JavaScript? How to validate email in JavaScript? The form capture the following: visitors name. Email_Id gender/sex the visitors date of birth(dd/mm/yyyy) text box to retrieve the users hobbies submit/reset/abort button Client side validation: Name,email,sex,Dob con not be empty. The email address can not contain any special character except '@' and '.' the length of email and name field can not exceed 30 character date of birth is keyed in  "dd/mm/yyyy" formats and validate day, month and year. day is between 1 to 31, month is 1 to 12 and year is accept till 2020. Html/JavaScript <html>     <head><script  language="Javascript">         function verify()         {             let i;             for(i=0;i<7;i++)                 {                     if(document.forms[0].elements[i].value=="")                         {          

Decimal-hex-oct-binary

Image
Convert Decimal to Binary, Binary to Decimal, Decimal to O ctal , O ctal  to Decimal, Decimal to H ex , Hex  to Decimal