focus and hidden, errors in IE 6

E

ewitkop90

<head>
<script LANGUAGE="javascript" >
function div6yes() {
MMDiv6.style.visibility='visible';
framenewinstall.date.focus();
}
function div6no() {
MMDiv6.style.visibility='hidden';
}
</script>
</head>

My form name is framenewinstal.

My html in the body looks like:

<p><font size="3" color="#FF0000"></font> Should the PM contact
the customer directly to setup Time and Date?
<input type="RADIO" tabindex="2" name="PM to contact the Customer to
schedule" onClick="div6no();" value="yes"> Yes
<input type="RADIO" name="PM to contact the Customer to
schedule" onClick="div6yes();" value="no">
No &nbsp;<font size="3"
color="#FF0000">*</font>&nbsp;&nbsp;&nbsp;<br>
<div id="MMDiv6" style="visibility:hidden">
<table width="100%" border="0" cellspacing="2"
cellpadding="2" dwcopytype="CopyTableRow">
<tr>
<td class="formLabel" width="13%"><label
for="date">First
Preferred Service Delivery Date:</label> </td>
<td class="formElement" width="87%">
<input type="TEXT" id="date" tabindex="2"
name="Preferred Service Delivery Date">
<font size="2">( Format is MM/DD/YY)</font> </td>
</tr> <tr>
<td class="formLabel" width="13%">
<p>First Preferred Service Delivery Time:</p>
</td> <td class="formElement" width="87%">
<input class="form" tabindex="2" type="text"
name="Preferred Service Delivery Time" />
<font size="2">( Time should be in EST)</font>
</td> </tr> <tr>
<td class="formLabel" width="13%">Alternative
Service Delivery
Date:</td>
<td class="formElement" width="87%"><label
for="date">
<input type="TEXT" id="date" tabindex="2"
name="Alternate Service Delivery Date">
<font size="2">( Format is
MM/DD/YY)</font></label></td>
</tr><tr>
<td class="formLabel" width="13%"><label for="date">Alternative
Service Delivery Time:</label></td>
<td class="formElement" width="87%">


It works fine. But IE is saying: "Error:Object doesn't support this
property or method." How can I fix this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top