cancel
Showing results for 
Search instead for 
Did you mean: 

pop up a new window/screen?

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Experts,

i want to know how can i pop up a new screen/window on the same screen?

i am having one screen where i have put one button submit , once i click on submit button , a window should pop up asking about comments.

once i pass comments it should update at backend.

Regards,

Jitendra

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Jitendra..

     Can you please explain how to use the pop-up dialoug in a screen???? How Maps are been integrated in SUP? Please help

david_brandow
Contributor
0 Kudos

In other words you want to popup a dialog, I assume. For a trivial example of how to do this, look in API.js for openWaitDialog.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi David,

yes i want to pop up a dialog.

can you please explain me in details?

i didnt understnd with code written in API.js for openWaitDialog.

Regards,

Jitendra

david_brandow
Contributor
0 Kudos

There's nothing special here, there are numerous ways to implement popup dialogs in HTML/JS/CSS. In this particular case, we dynamically construct a div for the background, a div for the dialog, populate it, add both divs to the document body, set the overflow to hidden. When we dismiss the dialog, we remove those two divs and set the overflow back to auto.