code: function(elms, clickParent) {
          var elm = elms && elms.length > 0 ? elms[0] : null;
          if (!elm) {
              return;
          }
          /*global document*/
          var clck_ev = document.createEvent('MouseEvent');
          clck_ev.initEvent('click', true, true);
          if (clickParent) {
              elm.parentElement.dispatchEvent(clck_ev);
          } else {
              elm.dispatchEvent(clck_ev);
          }
      }
docs: click hidden function