title: Trying to click submit button which as image as button vba
body: <p>I have been trying to click the input button on a web page using JavaScript. I have tried the following:</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;input type="image" src="/img/go_button.gif"&gt;
  </code></pre>
  
  <p><strong>VBA</strong></p>
  
  <pre><code> ' Not working 
  el.click
  
   ' Not working
  
  el.focus 
  el.invokemember("OnClick")
  </code></pre>
  
  <p><strong>JavaScript</strong></p>
  
  <pre><code>function toggleMenu(obj, title)
  {
      var internalMenu = obj.parentNode.getElementsByTagName("div").item(0);
      var d = internalMenu.style.display;
      if (d != "block") {
          internalMenu.style.display = "block";
          obj.innerHTML =
              '&lt;IMG SRC="/images/menu-arrow-open.gif"'
              + ' border=0&gt;&amp;nbsp;' + title;
      } else {
          internalMenu.style.display = "none";
          obj.innerHTML =
              '&lt;IMG SRC="/images/menu-arrow.gif" ' +
              'border=0&gt;&amp;nbsp;' + title;
      }
  }
  </code></pre>
  
  <p>I have been searching Google, but I haven't found any solution yet.I've seen a method called <strong><code>ie.Document.parentWindow.execScript</code></strong>, but I'm not sure how to use it.</p>
  
  <p>Is it possible to click that image button and take whatever results I want?</p>