Hello,
I wrote some javascript code at the onLoad form event. But when I preview in Internet Explorer the changes in the code are not reflected on what I wrote.
When I check the source code in Internet Explorer nothing of the code I wrote is shown.
I had to copy the form from a Notes 5 db. Does it have anything to do? I removed the $V5Actions field from this design element because I knew that might cause problems, specially when you pass to Notes 4.
Thanks
Subject: The javascript form code is not the same as I see at Internet Explorer source code!
In R6 you can write JavaScript code separately for Notes client and for Web. You select client type for your script in selection box in javascript designer window.When you copied from R5, both Notes and Web versions got same script. When you choose to edit that script make sure that you have selected “Web” and not “Client” in selection box, otherwise your changes are not visible on Web.
Choosing “Common JavaScript” selection box makes same script work in both clients.
Subject: RE: The javascript form code is not the same as I see at Internet Explorer source code!
Thanks people,
The problem was exactly what you said: the option was set to “Client” instead of “Web”.
God, this took all my morning!
I think that this confuses because when you see a javascript code you automatically think that will work only in Web.
Subject: The javascript form code is not the same as I see at Internet Explorer source code!
Did you remember to check whether “Client” or “Web” was selected before you changed the code? That one gets me all the time.
Subject: RE: The javascript form code is not the same as I see at Internet Explorer source code!
Me too - even though I know to watch out for this. It’s either a bad bit of interface design OR I have the memory of a goldfish - probably both !