khadem1386 2 Posted May 21, 2007 Report 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 Quote Link to post Share on other sites
aalbetski 0 Posted May 25, 2007 Report 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 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.