title: How can I set element.onmouseover?
body: <p>I am new to VBScript. I want to change the image source on mouseover but I am unable to that.</p>
  
  <p>My code is as follows: </p>
  
  <pre><code>&lt;head&gt;
  
  &lt;script language="vbscript"&gt;
  
  'code.....(please use Sub as sub and Img1 as img1)
  
  Sub img1_OnClick
  
  Img1.src="imge1.jpeg"
  
  End sub
  'code ends....
  &lt;/script&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;img name="img1" src="imge.jpeg" /&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>This code is not working. Can anyone suggest something better? </p>