locked
Integrate popup content with toastr popup / HTML Client RRS feed

  • Question

  • Hi guys! Just wondering - is it possible to put a content of my popup into a toastr popup.

    Its simple if I use code like this 

    toastr[warning]("<div><input class="input-small" value="textbox"/>&nbsp;<a href="http://johnpapa.net" target="_blank">This is a hyperlink</a></div><div><button type="button" id="okBtn" class="btn btn-primary">Close me</button><button type="button" id="surpriseBtn" class="btn" style="margin: 0 8px 0 8px">Surprise me</button></div>")

    but how can I insert all popup items into with the same functionality? Ive got label, text box and 2 buttons there

    Thanks!



    Monday, August 11, 2014 7:12 AM

Answers