Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

timezone picker html

function timezoneSelect(){
     var options = [],
         select = document.createElement("select");

     for (var i=0; i<tzs.length; i++){
       var tz = tzs[i],
           option = document.createElement("option");

       option.value = tz.value
       option.appendChild(document.createTextNode(tz.label))
       select.appendChild(option)
     }

     return select;
   }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #timezone #picker #html
ADD COMMENT
Topic
Name
1+4 =