image upload using jquery ajax when form submit php
<td><button type="button" class="send_notification" onclick="sendNotification(<?php echo $row['patient_id']; ?>)">SEND</button></td> function sendNotification(patient_id) { $('#modal-content').on('shown.bs.modal', function () { $("#message").focus(); }); $('#modal-content').modal({ show: true }); $('.notification_submit').click(function(event){ event.preventDefault(); var message= $('#message').val(); var file_data = $("#file").prop("files")[0]; // Getting the properties of file from file field var f...