JavaScript Not working in Client

This is when using the notes client on an internal network with a server:I have some javascript that is used to change a picture when the mouse pointer is rolled over. When I load in the blank Form from designer it works perfectly; But, when I load in a document that uses the same form to display it then the script ceases to function.

Another thing that I have noticed is when I load in the form the javascript functions but after I put data into the form and then save it, which creates a document, then the javascript ceases to function.

Any one have any Ideas?

Thanks!

Subject: Sounds like the code is assuming the document is in edit mode…

…and fails, probably with an error you are trapping and failing to display, if it is used in read mode, where there is no form.

The easy way to do a mouseover image switch in the Notes client, is with an image well. You don’t need JavaScript code for this in most cases.