안녕하십니까 . 개발 초보자 입니다.
도움좀 주시면 감사하겠습니다.
<script language=JavaScript>
function writeLayer() {
var str;
var diffdate;
str = document.gigan;
document.frames['myFrame'].location.href = 'guntae-process.asp?s_date=' + str.s_date.value+ '&e_date=' + str.e_date.value;
document.gigan.s_date.focus();
}
function guntaeprint()
{
var str;
str = document.gigan;
if (str.s_date.value == "" && str.e_date.value == "")
{
alert("조회부터 먼저 하십시요")
}
else
{
window.open ('guntae-print.asp?s_date=' + str.s_date.value +'&e_date='+str.e_date.value , "근태내역인쇄", "width=640, height=600 scrollbars=yes");
}
document.gigan.s_date.focus();
}
</script>
이며
<table cellpadding="2" cellspacing="0" width="100%">
<tr height="30">
<td width="100%" height="20" align="right" valign="bottom">기간 :
<input type="text" name="s_date" maxlength="8" size="8" OnKeyDown="EnterCheck(1);" > -
<input type="text" name="e_date" size="8" maxlength="8" OnKeyDown="EnterCheck(2);" >
<input type="button" name="search" value="조회" onclick="location.href'javascript:writeLayer()'" ></td>
</tr>
</table>
이와 같이 불러 오고 있습니다. 익스에서는 되는데 웹뷰로 불러 오는 화면과 크롬에서는 실행이 안되어 집니다.