Lotus Notes FAQ Visit Our Sponsor!

How do you make a button do a document refresh?

If you call the following JavaScript from the form, Domino will do a document refresh without saving the document first:

document.forms[0].__Click.value = '$Refresh';
document.forms[0].submit()  ; 

Note that you must have "Use Javascript when generating web pages" turned on in the DB Properties.


Applies to Notes Versions: 4.6 5
Last Modified: January 17, 2000