Click to See Complete Forum and Search --> : populate a frame from another frame


asolell
05-24-2003, 06:33 AM
Hi All,

This is the same subject that was previously not resolved, but I'm trying to be a bit creative and hopefully I get your assistance with that.

The TreeView is calling the main frame.
The problem?
Actions on the main frame get cached and when clicking
again from the TreeView frame, you see old values.

to resolve this I put the meta tags for no-cache, and even expired page:

<meta http-equiv="Pragma" content="no-cache;">
<meta http-equiv="expires" content="Thu, 1 October 1998 00:00:00 PST">

But, this still didn't do the trick.
So, I'm thinking I may be able to do that in a different way.

Instead of the reciving frame taking care of things, I want to append a datetime stamp to the call and I think that should definatly make the call unique with no cache.



What I need now is to change the call from:


insDocX(aux200011, gLnk("R", "List Items", "../InventorySetup/ListInventoryItem.php"))


To:

insDocX(aux200011, gLnk("R", "List Items", "../InventorySetup/ListInventoryItem.php?datetimestamp()"))


My question is,. how do I implement it?
How can I make the values kick in?

Inside the function gLnk I can append the
linkData = linkData + "?<onclick javascript:datetimestamp();>"


but, this doesn't work, or at least, I don't know how to do that.

Any suggestions?

Thanks,

-Alon.

khalidali63
05-24-2003, 09:14 AM
Originally posted by asolell
.............................
insDocX(aux200011, gLnk("R", "List Items", "../InventorySetup/ListInventoryItem.php"))
.........................-Alon.

Thats a user defined function,and there is no way for some one here to tell you that how it will pass a frame reload command to another frame using this function, and that is in the case that the function already have the ability to do the task,

a simple javascript is required for this purpose

parent.frameName.document. and access a function or element here

you will have to post your code here or ask the person who wrote this function to let you know how to use it in the manner you are trying to do.

asolell
05-24-2003, 05:28 PM
I'm happy to say that I finally figured it out and found the place and after several tries made it work such that it appends a Math.random() to the link.

Thanks all for your help.

-Alon.