In completing a form I created shortcuts to add data in dropdowns list
but when I close the pop-up
window, refresh the entire page.
-
I'm using the following code:
window.onunload = refreshParent; function refreshParent () { window.opener.location.reload (); }
The problem with updating the entire page is, it clears the data that I had already entered. in the remainder of the form.
How do I just refresh on dropdown
that we add data?