This topic is locked

Display Popup on an external page

7/13/2018 2:39:20 PM
PHPRunner General questions
S
stiven author

Hello everyone,
I was hoping maybe someone has an idea on how to accomplish this. I am trying to use Runner.displayPopup( { url: "products_add.php" }); on an external js file. I know it is possible to use it on any javascript code within the events of the application. BUT, I have included an external js file (myalerts.js) and a link on the footer of the page (because I want to display it everywhere on the site) and I would like that link to be opened in modal popup. In myalerts.js I would like to use the function Runner.displayPopup( { url: "products_add.php" });. Does anyone know if this is possible? what are the required files needed for the Runner.displayPopup to work? including dbcommon.php file did not work.
Thank you