Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
var obj = document.forms['myForm'].elements['myElement'];
switch( obj.type ) {
case 'text':
alert('text box');
break;
case 'select-one':
alert('single select');
break;
default:
alert('other');
break;
}