Robert Neale
August 23rd, 2002, 05:52 AM
I have some vbscript in a html page that is invoked when an image is clicked with the onclick event. What I am finding is that if I click the image once the vbscript is performed, but if I click it again it isn't. Do I have to 'unclick' the image or reset the event ?
Having now got a bit further it appears that......
1. I click the image - it gets a dotted line around it and the vbscript is ececuted.
2. the dotted line is still around the image and no click on it is then registered.
3. If I click elsewhere on the page, the dotted line disappears from the image.
4. I can then click on it and execute the vbscript again!
Can someone explain what is happening and how to get around it?
Having now got a bit further it appears that......
1. I click the image - it gets a dotted line around it and the vbscript is ececuted.
2. the dotted line is still around the image and no click on it is then registered.
3. If I click elsewhere on the page, the dotted line disappears from the image.
4. I can then click on it and execute the vbscript again!
Can someone explain what is happening and how to get around it?