ElementsByName('choice');
        
        
      
        form.addEventListener('submit', function(e) {
          e.preventDefault();
          document.getElementById('submit').textContent="loading"
          

        var red=radios[0];
        var blue=radios[1];

          var address;
        if(red.checked){
             color="red"     
        }
        else if(blue.checked){
             color="blue"
        }
        //document.getElementById("open").click();
         
        socket.emit('vote',