Dropdown - add records without refresh form |
If the state is add, create a button on the div for adding a new record :
Code: <?php if($state == 'add') { ?> Bootstrap normal model : Code: <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> ajax : Code: <script type="text/javascript"> controller ( I have added here the model just for test ) Code: public function add() {
Website : www.my-web-projects.com
|
Messages In This Thread |
Dropdown - add records without refresh form - by GrigoreMihai - 01-19-2015, 08:27 AM
RE: Dropdown - add records without refresh form - by josepostiga - 01-19-2015, 03:00 PM
RE: Dropdown - add records without refresh form - by GrigoreMihai - 01-19-2015, 11:39 PM
RE: Dropdown - add records without refresh form - by GrigoreMihai - 01-19-2015, 11:45 PM
RE: Dropdown - add records without refresh form - by GrigoreMihai - 01-20-2015, 11:48 PM
RE: Dropdown - add records without refresh form - by CroNiX - 01-21-2015, 02:21 PM
RE: Dropdown - add records without refresh form - by GrigoreMihai - 01-22-2015, 12:17 AM
|