Can anyone tell me how to call a JavaScript function from a Visual Baisc event (_click). My JavaScript is part of an HTML form in a WebBrowser component in a VB application.

I have accessed HTML textareas from VB using

text1.text = document.all.textarea.value

This is a VB declaration that uses the DOM.