I have created a custom page and configured it as a Display form on SharePoint list. All the list forms are configured to Launch as a Dialog.'
Now I want my users to see a different page within the popup window upon clicking on a button on Display Form.
I have tried
$.ajax POST. None of these worked.