Open zaibtabs opened 5 years ago
Here is my model window
<div id="userModal" class="modal fade">
<div class="modal-dialog">
<form method="post" id="user_form" enctype="multipart/form-data">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Edit User</h4>
</div>
<div class="modal-body">
<label>Employee Name</label>
<input type="text" name="employee_name" id="employee_name" class="form-control" />
<br />
<label>Employee Salary</label>
<input type="text" name="employee_salary" id="employee_salary" class="form-control" />
<br />
<label>Employee Age</label>
<input type="text" name="employee_age" id="employee_age" class="form-control" />
</div>
<div class="modal-footer">
<input type="hidden" name="user_id" id="user_id" />
<input type="hidden" name="operation" id="operation" />
<input type="submit" name="action" id="action" class="btn btn-success" value="Add" />
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</form>
</div>
</div>
Hi Everyone, I am new to this and so far I manage to run a jquery.bootgrid and data is displayed nicely with edit and delete buttons, however I am struggling to open a modal window and on.click of edit the select record.
Please can someone help. here is my ajax.js script code. further down is a fetchrecord.php file, which i would like to display in a modal window with save and close button.
My php fetchsinglerecord.php code.
How do i get this record from fetchsingle.php in a modal window. Please helpl