Este variable esta en una vista .php
<?php $actualizar=$_SESSION["actualizar"]; ?>
Esta esta en un archivo .js se esta trabajando bajo el model mvc
$( document ).ready(function() {
// the "href" attribute of the modal trigger must specify the modal ID that wants to be triggered
$('#modal2').modal({
dismissible: false, // Modal can be dismissed by clicking outside of the modal
inDuration: 3000, // Transition in duration
outDuration: 200, // Transition out duration
startingTop: '4%', // Starting top style attribute
endingTop: '10%', // Ending top style attribute
});
$('#modal2').modal('open');
});
alguna idea de como capturar esa variable session en jquery ?