Bootstrap Modal (View, Edit, Delete) |
(12-15-2014, 06:00 AM)GrigoreMihai Wrote:(12-15-2014, 05:42 AM)InsiteFX Wrote: You can create a MY_Model and extend all your models from MY_Model I believe you are asking regarding http://getbootstrap.com/javascript/#modals ? My method to do this with as few lines of code is the following:
Here is a example code Code: $('.item-edit').on("click", function() { For my data, I tend to put it in a span tag with data attributes but you can store the information in other places. |
Messages In This Thread |
Bootstrap Modal (View, Edit, Delete) - by GrigoreMihai - 12-15-2014, 04:38 AM
RE: Bootstrap Modal (View, Edit, Delete) - by InsiteFX - 12-15-2014, 05:42 AM
RE: Bootstrap Modal (View, Edit, Delete) - by GrigoreMihai - 12-15-2014, 06:00 AM
RE: Bootstrap Modal (View, Edit, Delete) - by advoor - 12-15-2014, 09:55 AM
RE: Bootstrap Modal (View, Edit, Delete) - by GrigoreMihai - 12-15-2014, 11:31 PM
|