Select Page

Popups in eRAMS use the jQuery UI library and can be opened using the examples here:

https://jqueryui.com/dialog/

To render content within the popup, you can use a variety of approaches:

Javascript

To render content to a popup using only javascript, use the following:

jQuery

To insert content using jQuery alone, find the DOM element containing your dialog box and use the html() function to insert the desired html markup within the dialog:

Backbone

If your dialog is using a Backbone view to manage interaction with the user, you can use Backbone templates to perform the same task: