Popup not popping (!?)


I’m trying to set a popup modal through a view, but when I click the button that calls the view I’m being redirected to another page with the HTML of the popup.

You need to use some sort of JavaScript in the browser to do modals. If the modal is being rendered server-side, then you would make an AJAX call to the view to retrieve the html div with the modal, and then present it in the browser. The server cannot perform in-page element replacement directly.

1 Like

That was it! Thank you!