jquery - how can I add text fields and input into BootstrapDialog? -


i want add text fields , inputs inside modal, bootstrapdialog doesnt allow me it, how can without change library? way can use $.ajax(); inside?

<button class="btn btn-primary" id="add_item">new item</button> 

jquery

$('#add_item').on('click',function(){     bootstrapdialog.confirm({         message: 'hi aaron imperial'     }); });  

in java script working easyly try once

document.getelementbyid('dialougeid').innerhtml = '<input type=\"text\"/>'; 

Comments