i am opening form → the command for this is as below.
window.navigate(“/kmkp.nsf/”+“pgRegisterUsage1”+“/?openForm&Process=”+escape(str1)+“&Area=”+escape(str2)+“&SubArea=”+escape(str3));
the code opening the frame in itself…
but this is not opening in the frame as i required,
so , what can be the same as @settargetFrame(“framename”) in the javascript…
Thanks
Rupesh
Subject: whaat can be the same as @SetTargetFrame (“smain”) in javascript
It all depends on how your frames are set up.
Let’s assume you have a main frameset with 3 frames, named “top”, “left” and “right”.
To open a form from frame “left” in frame “right” you will need to target that frame properly.
In the case above, you could write:
top.frames[‘right’].location.href = yourURL;
If you have framesets within framesets (very common) you will have to find the right frame by first going upwards in the frame hierachy until you have a common ‘parent’. Then down to the correct target. This sounds more complicated than it is - read up on it on the web.
Hope this helps.
// Ken Haggman, NotesHound.