title: webbrowser.document javascript vb6
body: <p>I could do with help here... </p>
  
  <pre><code>&lt;div id="content"&gt;
  
      &lt;div class="ltFlt fullWidth vsp20"&gt;
  
        &lt;br&gt;&lt;/br&gt;   
        &lt;div class="ltFlt fullWidth vsp20"&gt;
            &lt;h2 class="greyBg"&gt;&lt;b&gt;TEKLİF TEMEL VERİLERİ&lt;/b&gt;
                &lt;span class="sp50"  style="width:400px;"&gt;
                    &lt;a href="#" onclick="fuOnedit('coredata'); return false"&gt;
                        &lt;b&gt;Değiştir&lt;/b&gt;
                    &lt;/a&gt;
                &lt;/span&gt;
            &lt;/h2&gt;
        &lt;/div&gt;
  
        &lt;div class="fntfmt vsp10 width232"&gt;
            &lt;table border="0" cellpadding="0" cellspacing="0" width="750"&gt;
                &lt;tr&gt;
  </code></pre>
  
  <p>So in this case,  I want to click on "Değiştir" link which calls this code:</p>
  
  <pre><code>onclick="fuOnedit('coredata'); return false"
  </code></pre>
  
  <p>How can I do that ? I need to call javascript code. I tried this one but it didn't work:</p>
  
  <pre><code>WebBrowser1.Document.parentWindow ("fuOnedit('coredata'); return false")
  </code></pre>