I have a web interface that uses javascript to create a modal window, allowing the user to enter new data. What I want to do is refresh the parent page with the newly added data, when the user clicks OK on the modal.
The parent page is generated with perl, as it has to read the contents of a directory, so the only way I can think to do it, is to trigger the perl with the javascript when it's done, but it sounds messy.
Does anyone know how to do what I need, either how I think it will have to work, else a cleaner method?
Thanks
The parent page is generated with perl, as it has to read the contents of a directory, so the only way I can think to do it, is to trigger the perl with the javascript when it's done, but it sounds messy.
Does anyone know how to do what I need, either how I think it will have to work, else a cleaner method?
Thanks