Click to See Complete Forum and Search --> : Javascript Refresh
jskeens
01-15-2003, 02:44 PM
I need to refresh a my window using Javascript, but I do not want to lose my information that is on the screen already.
Can anyone offer any help?
I thought that window.location.reload() would do this for me but I lose all of my information.
Thank you very much.
khayman2001
01-15-2003, 03:20 PM
People are probably going to need you to be more specific than that to help you. I have a couple of ideas, but they're completely different depending on the situation.
jskeens
01-15-2003, 03:36 PM
Okay this is what is happening. I am entering my first window, and filling out data. I have to use a pop-up window to grab more information. When I get information from the pop-up window, I need to refresh the original window because more options will come to the foreground of the original screen depending on the data that is selected from the pop-up window. I need to know how to refresh the original window to make this happen, without losing the data that has already been entered on the original window.
I hope that this helps.
Thank you
Zach Elfers
01-15-2003, 03:39 PM
You should use a cookie.
jskeens
01-15-2003, 03:47 PM
Greater detail is what I am looking for here.
jskeens
01-16-2003, 07:09 AM
Does anyone have any ideas about this? Is this even possible?
My whole page is finished I just need to complete this to wrap it all up.
I would greatly appreciate some help ASAP!!
Thanks
khalidali63
01-16-2003, 07:33 AM
For that you do not need to "Refresh" your page,
What you can do is that you add the required content based upon the user selections in the popup window to the parent window dynamically by passing the data from child to parent.
child window will pass data to parent using this syntax
top.opener.document.formName.fieldName.value
hope this guides you.
Khalid