Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Popup properties
Popup properties
nuCurrentProperties() "Returns all properties for the current Form as an object.". --> this works fine in an edit form. Then I open a popup window with nuPopup(....) and I wanted to get the properties of the popup form with nuCurrentProperties() but it will still get the properties of the edit form. How can I access the properties of the pop-up window?
Re: Popup properties
I run it from the JavaScript console to investigate the popup form . Is there a command like nuCurrentPopup. nuCurrentProperties(), where nuCurrentPopup would represent the active modal window?
Re: Popup properties
Timo,
You can change windows in the console.
Steven
You can change windows in the console.
Steven
You do not have the required permissions to view the files attached to this post.
Re: Popup properties
Thanks, I have learned something new again. In this way I can now also access the popup form from the main form:
Code: Select all
$('#nuWindow')[0].contentWindow.nuCurrentProperties();