code: function parseGuestWlanHTML(html)
  {
      $ = cheerio.load(html);
      var form = $('form');
      var settings = {};
  
      $('input', form).each(function(i, elem) {
          var val;
          var name = $(elem).attr('name');
          if (!name) return;
  
          switch ($(elem).attr('type')) {
              case 'checkbox':
                  val = $(elem).attr('checked') == 'checked';
                  break;
              default:
                  val = $(elem).val();
          }
          settings[name] = val;
      });
  
      $('select option[selected=selected]', form).each(function(i, elem) {
          var val = $(elem).val();
          var name = $(elem).parent().attr('name');
          settings[name] = val;
      });
  
      return settings;
  }
docs: /*
  WLAN
   Parse guest WLAN form settings