Refreshing document content in a frame on the web

I have a computed field with the following formula:an:=@Name([CN];@UserName);

an

It works fine in a Lotus Notes Client environment when I refresh the document BUT when on the web the existing code to refresh is in Javascript with the following button click event code:

location.reload(true);

This does not work on the web. Is there anything / code that can refresh the content of the document (which is viewed in a frame) on the web?

Thanks,

Dan