Hi,
We have an application that cannot use the date picker, after a date is selected, the error we get is:
A runtime error has occurred
Line:10
Error: 'opener.document.forms.0.p_t03' is null or not an object
After a lot of searching around, the developer has narrowed it down to something on the template for some reason, but we are not sure what. If we remove the template, it works fine - but in this case the business wants the standard look and feel - so we are stuck with having to use it.
Below is the header, body and footer sections of the offending template - anyone have any idea of what could cause the problem with the date picker?
Header:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>#TITLE#</title>
#HEAD#
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Monash University Research Output Reporting Tool" />
<meta name="keywords" content="research, RORT, reporting" />
<link rel="stylesheet" href="http://assets.monash.edu.au/styles/monash.css" type="text/css" />
<link rel="stylesheet" href="http://assets.monash.edu.au/styles/print.css" media="print" type="text/css" />
<link rel="shortcut icon" href="http://www.monash.edu.au/favicon.ico" />
<link rel="stylesheet" href="#IMAGE_PREFIX#css/einstein.css" type="text/css" />
<script src="#IMAGE_PREFIX#javascript/functions.js" type="text/javascript"></script>
</head>
<div id="accessibility">
Skip to content |
Change text size
</div>
<div class="spacer"></div>
<!-- S I T E I D E N T I F I C A T I O N -->
<div id="global-header">
<div id="global-images">
<img id="logo" src="http://assets.monash.edu.au/images/logo.gif" width="343" height="79" alt="Monash University" /><img id="banner-image" src="http://assets.monash.edu.au/images/banner-research.jpg" width="288" height="79"
alt=" " title="" />
</div>
<div class="spacer"></div>
<!-- G L O B A L N A V I G A T I O N -->
<table id="global-nav" summary="Layout for site-wide navigation">
<tr><td>
Monash home |
About Monash |
Faculties |
Campuses | <a
href="http://www.monash.edu.au/contact/">Contact Monash</a>
</td></tr>
</table>
<!-- U T I L I T Y N A V I G A T I O N -->
<table id="global-utils" summary="Layout for utility navigation">
<tr>
<td>
Staff directory |
A-Z index |
Site map
</td>
<td id="global-utils-form">
<form action="http://ultraseek.its.monash.edu.au/query.html" method="get" name="seek1" id="seek1">
<input type="hidden" name="rq" value="0" />
<input type="hidden" name="col" value="m0" />
<input type="hidden" name="qs" value="-monash.access:intranet -monash.access:emailarchive" />
<label class="search" for="qt">SEARCH </label>
<input type="text" id="qt" name="qt" size="20" maxlength="1024" />
<input type="hidden" name="qp" value="" />
<input name="submit" type="submit" accesskey="1" value="Go" />
</form>
</td>
</tr>
</table>
<body #ONLOAD#>#FORM_OPEN#
<H1><CENTER>MRGS EXAMINATIONS</CENTER></H1>
Body:
<!-- S K I P L I N K A N C H O R -->
<a name="content" id="skiplink"></a>
<div align="right">
<table class="std">
<tr><td align="left" width="10%" valign="bottom" nowrap="nowrap"><span class="PortletHeading2">&USER.</span></td><td style="padding-left:30px;">#NOTIFICATION_MESSAGE# #SUCCESS_MESSAGE#</td></tr></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="TabForegroundColor">
<tr><td class="TabForegroundColor"><img src="#IMAGE_PREFIX#f_spacer.gif" border="0" height="3" alt="" /></td></tr>
</table></div>
</td>
</tr>
<tr>
<td width="100%" colspan="3">
<div class="th_content_body">
#REGION_POSITION_01#
<tr>
<td style="padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_02#
</td>
</tr>
<table width="100%">
<tr><br>
<td width="25%" style="border-right:2px #000099 solid;padding-left:10px;" valign="top">#REGION_POSITION_03#
</td>
<td style="padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_04#
</td>
<td valign="top" width="100%" style="padding-left:20px;padding-left:20px;">
#BOX_BODY#</td>
</tr>
<tr>
<td></td>
<td style="border-style:solid;border-width:thin;border-color:black;padding-right:10px;padding-left:10px;" valign="top">#REGION_POSITION_07#
</td>
</tr>
</table>
</div>
#REGION_POSITION_09#
</td>
</tr>
<tr>
</table>
Footer:
#FORM_CLOSE#
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="TabForegroundColor"><tr>
<td class="TabForegroundColor"><img src="#IMAGE_PREFIX#f_spacer.gif" border="0" height="3" alt="" /></td></tr>
</table>
<table width="100%"><tr><td align="right" class="tiny"> #CUSTOMIZE# </td></tr></table>
Copyright © 2003
<FONT COLOR=#606060><U>Monash University</U></FONT> ABN 12 377 614 012 -
<FONT COLOR=#606060><U>Caution</U></FONT> -
<FONT COLOR=#606060><U>Privacy</U></FONT> -
<FONT COLOR=#606060><U>CRICOS
Provider Number: 00008C</U></FONT>
Last updated: 10 August 2004 - Maintained by
<FONT COLOR=#606060><U>webmaster@monash.edu.au</U></FONT> -
<FONT COLOR=#606060><U>Accessibility information</U></FONT>
</body>
</html>