I'm doing a shift system with% native% co in which I'm using a php
that is called librería
in which from the part where the appointment is scheduled works well, since after that saves, shows an alert with the library of fancywebsocket
"appointment assigned" up to this point, but the other side where the quote should appear also pretend to show one of the same alerts "You have a new appointment " but this is where the library and this function does not recognize me.
annex the libraries used and the code of the function:
<!-- libreria del servidor socket -->
<script src='../../functions/jquery-1.7.2.min.js'></script>
<script src="../../functions/fancywebsocket.js"></script>
<!-- Este SCRIPT ejecuta todos los alerts -->
<link rel='stylesheet' href='../../cx/demo/libs/bundled.css'>
<link rel='stylesheet' href='../../cx/demo/demo.css'>
<link rel='stylesheet' type='text/css' href='../../cx/jquery-confirm.css'>
<script src='../../cx/demo/libs/bundled.js'></script>
<script src='../../cx/demo/demo.js'></script>
<script type='text/javascript' src='../../cx/jquery-confirm.js'></script>
<!-- Despliega otra ventana de dialogo interna -->
<link media="screen" rel="stylesheet" href="../colorbox/colorbox/colorbox.css" />
<script src='../js/jquery-1.7.2.min.js' type='text/javascript'></script>
<script src="../colorbox/colorbox/jquery.colorbox.js"></script>
Function from the first side works perfectly, I do not know if any library is interfering with it.
$.confirm({
icon: 'fa fa-user-circle-o',
theme: 'supervan',
closeIcon: false,
content: 'TIENES UNA NUEVA CITA!',
animation: 'scale',
type: 'green',
buttons: {
'ok': {
text: 'OK',
btnClass: 'btn-blue',
action: function () {
}
},
}
});
If they need the socket code they tell me:
Many thanks in advance ...