Hello,
Im unable to get my modal screen to appear. Im including 3 frames within the html. I have included my code. The ajax function is working, it's just the modal is not displaying.
The frames are completely separate areas that my dialog should not go across.
Help ...PS the /%...%/ are AS/400 data place holders, just ignore.
<HTML>
<HEAD>
<link rel=stylesheet type=text/css href=/ship/style.css>
<link type="text/css" href="/js/jquery-redmon.css" rel="Stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
<SCRIPT language=JavaScript src="/JS/jquery-1.4.2.js"></SCRIPT>
<SCRIPT language=JavaScript src="/JS/jquery-ui-1.8.5.custom.min.js"></s
<SCRIPT language=JavaScript>
$(document).ready(function() {
$.ajax({
type: 'get',
async: false,
dataType: 'text',
url:'MSGAJAXR.PGM',
data:{USER:"/%USR%/",APPL:"/%APPTYP%/"},
success: function($html){
$("#msgarea").empty();
$("#msgarea").append($html);
$("#msgarea").dialog({
autoOpen:true,
modal: false,
title:'Messages',
height: 350,
width: 500,
buttons: {
Close: function() {
$( this ).dialog( "close" );
}
}
});
}
});
});
</SCRIPT>
<frameset rows="40,452" cols="*" frameborder=NO framespacing="0" framep
<frame src="eclrtpfr.pgm?USER=/%USR%/&USRNAME=/%USRNAME%/'" noresize
<frameset rows="420,28" cols="*" frameborder=NO framespacing="0" framep
<frameset cols="141,642" rows="*" frameborder=0 framespacing="0" framep
<frame src="eclrlffr.pgm?MNM=/%MNM%/&USER=/%USR%/" noresize name="left"
<frame src="eclrrtfr.pgm?MNM=/%MNM%/&USER=/%USR%/" noresize frameborder
</frameset>
<frame src="eclrbtfr.pgm" noresize scrolling="NO" name="bottom">
</frameset>
</frameset>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<form>
<noframe>
</noframe>
</form>
<div id="msgarea" title="Messages"></div>
</body>
</html>