I ve a problem about jqmodal. That pop up can not appear. My scenario is any data in variable warning, pop up will appear and will appear the all warning data. This the code. Please help me. Thanks
<link type="text/css" rel="stylesheet" href="<? echo base_url(). css/jqmodal/css/prettify.css ; ?>" />
<script type="text/javascript" language="JavaScript" src="<? echo base_url(). css/jqmodal/ ;?>js/prettify.js"> </script>
<link type="text/css" rel="stylesheet" href="<? echo base_url(). css/jqmodal/ ;?>css/jquery.modaldialog.css" />
<script type="text/javascript" language="JavaScript" src="<? echo base_url(). css/jqmodal/ ;?>js/jquery.js"> </script>
<script type="text/javascript" language="JavaScript" src="<? echo base_url(). css/jqmodal/ ;?>js/jquery.modaldialog.js"> </script>
<script type="text/javascript" language="JavaScript">
$().ready(function(){
prettyPrint();
});
</script>
if(@$warning != NULL)
{
?>
<div id="jqModal" class="jqmWindow" style="display: none;"></div>
<script type="text/javascript">
jQuery().ready(function($){
$( #jqModal ).jqm({onShow:setText});
$( #jqModal ).jqmShow();
function setText(){
$( #jqModal ).text(<?php echo @$warning;?>);
}
});
</script>
<?php