FW.Lazy.Popup()
This article has not been checked for accuracy.
This function generates a modal pop-up dialog without reloading the page. The uri
is often specified as this
when data-href
contains the URI.
return FW.Lazy.Popup(this);
FW.Lazy.Popup(uri, options)
uri = '/manage/lookup/school?cmd=edit&record=<guid>&id=<guid>'
options = {
css: { height: 400 },
width: 600,
activeElement: 'my_element',
key: 'my_key_for_caching',
method: 'GET',
data: {...},
error: my_error_handler,
replace: true,
html: '<div>...</div>',
callback: my_callback_function
}
No Comments