Jump to content

Object find!


khadem1386

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...