I have a colleague who is having a problem with the onchnage event in the following script (works fine in IE6). The onkeypress works fine in both browsers.
[CODE]<%if (controller.getLandCostString() != null) { %>
£ <input name=”LandCost” type=”text” id=’lc’ size=15 maxlength=25 value=”<%= controller.getLandCostString() %>” onchange=”updateBox();” onkeypress=”return numbersonly(this, event)”/>
<img name=”landcost” src=”images/info.gif” hspace=”3″ alt=”Land Cost” onclick=”window.wopen(‘HTML/landcostinfo.html’,”,’width=300,height=200′)” />
<%} else { %>
£ <input name=”LandCost” type=”text” id=’lc’ size=15 maxlength=25 value=”” onchange=”updateBox();” onkeypress=”return numbersonly(this, event)”/>
<img name=”landcost” src=”images/info.gif” hspace=”3″ alt=”Land Cost” onclick=”window.wopen(‘HTML/landcostinfo.html’,”,’width=300,height=200′)” />
<%} %>
Any ideas?