Refresh the content of an iframe
Posted: Sat Jan 25, 2025 10:21 am
Hi,
I am stuck to refresh an iframe on change.
Here is a video presenting what I would like to do To do so I have tried those 3 options without any effect. What is wrong ?
All options are implemented on the Custom Code tab "On change" of the cs_patient_id labelled Patient in the video
Option 1: with nuGetBreadcrumb
Option 2 : with nuFilterRun thinking it could run the sql request behind the iframe where I do the filtering. I don't use any filter on the iframe, doing that at the SQL Request level with a where clause
Option 3 : with nuRefreshSelectObject
Any of those options is working unfortunately.
Many thx for your help,
Yves
I am stuck to refresh an iframe on change.
Here is a video presenting what I would like to do To do so I have tried those 3 options without any effect. What is wrong ?
All options are implemented on the Custom Code tab "On change" of the cs_patient_id labelled Patient in the video
Option 1: with nuGetBreadcrumb
Code: Select all
const contentWindow = $("#cs_patient_histo_CR")[0].contentWindow;
contentWindow.nuGetBreadcrumb();
Code: Select all
nuFilterRun('cs_patient_histo_CR');
Code: Select all
nuRefreshSelectObject('cs_patient_histo_CR');
Many thx for your help,
Yves