hcl-bot
1
Hi,
i would like to simulate the command :
@command([viewrefreshFields]) in javascript .
i wrote this code in the onLoad events of my form but it doesn’t work :
document.forms[0].field1.value=“yes”;
document.forms[0].field2.value=“0”;
_doClick(‘$Refresh’, this, ‘_self’, ‘’);
the fields are not modified and the form isn’t refreshed, why ?.
hcl-bot
2
Subject: refresh in javascript ?
the onLoad event triggers before the page is completely loaded. put your script on the bottom of your form into a rangeDon
hcl-bot
3
Subject: RE: refresh in javascript ?
i am a novice in HTML, how do i do that ?
hcl-bot
4
Subject: RE: refresh in javascript ?
At the bottom of your form, add the following tags:
and mark those tags as “Pass-through HTML” (in the Text menu).
Don
hcl-bot
5
Subject: RE: refresh in javascript ?
thanks Don for your help.