Send data from DB to bootstrap modal's |
I want to ask what is the best way to send data to a modal-body. Lets say i have a link like :
Code: <a href="#" data-toggle="modal" data-target=".bs-example-modal">Test </a> and then the bootstrap modal : Code: <div class="modal fade bs-example-modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> Now adding then with different ID's its very bad since this will create a loot of modal's and that is just bad codding... I have read a loot of variables on how to get the data by aJax but still not that sure on how to do it. If anyone was some time for a explanation fell free to post. Thanks for your time.
Website : www.my-web-projects.com
|
Messages In This Thread |
Send data from DB to bootstrap modal's - by GrigoreMihai - 01-27-2015, 01:56 AM
RE: Send data from DB to bootstrap modal's - by Rufnex - 01-27-2015, 01:37 PM
RE: Send data from DB to bootstrap modal's - by CroNiX - 01-27-2015, 03:25 PM
RE: Send data from DB to bootstrap modal's - by GrigoreMihai - 01-28-2015, 12:37 AM
|