title: Convert Jquery slidetoggle code to Javascript
body: <p>How can I convert the jQuery slidetoggle() function into Javascript?  </p>
  
  <pre><code> var $context = getContext(context);
  
          $($context).on('click', '.m_menu', function () {
              $('.w_nav').slideToggle();
          });
  </code></pre>