Jump to content

Recommended Posts

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 post
Share on other sites

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...