source: https://stackoverflow.com/questions/25757968/bootstrap-modal-is-not-a-function
check the forth answer.
solution:
jQuery.noConflict();
$('#id-mdl').modal('show');
source: https://stackoverflow.com/questions/25757968/bootstrap-modal-is-not-a-function
check the forth answer.
solution:
jQuery.noConflict();
$('#id-mdl').modal('show');
For everyone who is fucked up with forEach on JSON object.
Find solution in this link
https://codedamn.com/news/javascript/how-to-fix-typeerror-foreach-is-not-a-function-in-javascript
or something like this
var myval = JSON.parse(results);
Object.entries(myval).forEach(entry => {
[key, value] = entry;
console.log(entry);
});
ini_set('date.timezone', 'Asia/Jakarta');
$ts = date('Y-m-d H:i:s');