Answer the question
In order to leave comments, you need to log in
How to organize a quick view of the product through Ajax?
Good afternoon,
Please tell me how you can combine the modal-dialog from Bootstrap or Jquery ui dialog with Ajax so that this is loaded into this modal window when clicking on a link. For example, the layout of a hidden modal window does not yet contain content, click on the link, get the element code somehow, POST or GET data flies through js to php , get a response, fill in the data and load it into the modal layout, or see the download icon until it is completely loaded. I don’t want to make hidden elements of modals already filled with information and heavy pictures in the cycle. I would like to do throughjQuery or Angular . The most worrying question is how to attach 2 handlers to one event. Are there examples of such an implementation anywhere? Not necessarily, but it's very cool if yii has a similar component.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question