Simple simulation of multiple dialogs

I use the jquery simplemodal plugin, but I'm not sure that using this plugin you can open a simple mododal dialog from another simplemodal dialog. Does anyone know if this is possible?

Thank,

Lucio

+3
source share
2 answers

SimpleModal allows only one modal open at a time. You can change the contents or close and then open the new modal again.

Here is an example of how the latter: http://jsbin.com/aqavo3/

Click "Edit with JS Bin" to view the code.

+3
source

I recently found out that, unfortunately, variables in javascript are, in fact, global.

, , div , .

currentContent = $('# div'). html(); ... ... ... ... ... $ ( '# DIV') HTML (currentContent).

! (-).

+1

Source: https://habr.com/ru/post/1778944/


All Articles