Loads new content for the popup from the server.
|string or object, options for the popup
The first argument options
is a map of properties for the popup (see overview
for valid options). The options
argument must have url
which will be called to retrieve popup content.
In many ways this method is similar to the .open()
method. You can pass other properties
in the options
object to the popup. They will be applied on top of properties retrieved from the server.
The markup from the server should have the same structure as for .open
method, see example
When you are loading content from the server, you can optionally add #id
at the end of your url. This allows to select a particular popup element by id, if server returns multiple in the same file.