khadem1386 Posted May 21, 2007 Share Posted May 21, 2007 HiI have an input in my html. <input type="text" name="T1A1" size="11" value= "<%= invoiceN(pr2) %>" maxlength="3" style="border: 1px solid #C0C0C0" ></td> and this is my script <script language = vbscript ><!--Sub update()msgbox = T1A1.valueend sub--></script> and I get this error in IE:Error: Object Reuierd:'A1T1'thank for your help Link to comment Share on other sites More sharing options...
aalbetski Posted May 25, 2007 Share Posted May 25, 2007 try msgbox(T1A1.value) instead.btw, you may want to consider using document.getElementById("T1A1") to get the element reference. This will be intrepreted by all browsers, not just IE.You would , of course, then need to add the ID attribute to your element Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.