Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] this gives me an error object doesn't support thsi property or mether


  • From: javascript@xxxxxxxxxx (Peter Brunone)
  • Subject: [Javascript] this gives me an error object doesn't support thsi property or mether
  • Date: Mon, 24 Jun 2002 20:42:56 -0500

This is a multi-part message in MIME format.

------=_NextPart_000_005C_01C21BBF.B81BFA60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Scott,

    Are gcc and recordnumber just variables?  If so, then use their length
property, i.e. gcc.length .  You're probably thinking of the VBScript Len()
function for strings.

Cheers,

Peter
  -----Original Message-----
  From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On
Behalf Of Scott.Wiseman
  Sent: Monday, June 24, 2002 7:59 PM
  To: 'javascript@xxxxxxxxxx'
  Subject: [Javascript] this gives me an error object doesn't support thsi
property or mether



  [Scott.Wiseman]



  object doesn't support thsi property or mether

   <html>

  <head>

  <meta http-equiv="Content-Language" content="en-us">

  <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

  <meta name="GENERATOR" content="Microsoft FrontPage 4.0">

  <meta name="ProgId" content="FrontPage.Editor.Document">

  <title>Update a Transaction</title>

  <script language =javascript>

  <% if len(gcc)> 0 and len(recordnumber)>0 then %>

  window.opener.putintoarray(150,6545646);


  <% end if %>

  setTimeout('self.close();',3000);


  </script>



  </head>

  <body >

  </body>

  </html>


------=_NextPart_000_005C_01C21BBF.B81BFA60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D360243601-25062002>Scott,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D360243601-25062002></SPAN></FONT>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;<SPAN class=3D360243601-25062002><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Are gcc and recordnumber just variables?&nbsp; =
If so, then=20
use their length property, i.e. gcc.length .&nbsp; You're probably =
thinking of=20
the VBScript Len() function for strings.</FONT></SPAN></DIV>
<DIV><SPAN class=3D360243601-25062002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D360243601-25062002><FONT face=3DArial color=3D#0000ff =

size=3D2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=3D360243601-25062002><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D360243601-25062002><FONT face=3DArial color=3D#0000ff =

size=3D2>Peter</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> =
javascript-admin@xxxxxxxxxx=20
  [mailto:javascript-admin@xxxxxxxxxx]<B>On Behalf Of=20
  </B>Scott.Wiseman<BR><B>Sent:</B> Monday, June 24, 2002 7:59 =
PM<BR><B>To:</B>=20
  'javascript@xxxxxxxxxx'<BR><B>Subject:</B> [Javascript] this gives me =
an error=20
  object doesn't support thsi property or =
mether<BR><BR></FONT></DIV><FONT=20
  color=3D#0000c0>
  <P><BR><FONT size=3D2><SPAN class=3D984585700-25062002><FONT =
face=3DArial=20
  color=3D#0000ff>[Scott.Wiseman]&nbsp;</FONT></SPAN></FONT></P>
  <P><FONT size=3D2><SPAN =
class=3D984585700-25062002></SPAN></FONT>&nbsp;</P>
  <P><FONT size=3D2><SPAN class=3D984585700-25062002>object doesn't =
support thsi=20
  property or mether</SPAN></FONT></P>
  <P><FONT size=3D2><SPAN=20
  =
class=3D984585700-25062002>&nbsp;</SPAN>&lt;html&gt;</FONT></P></FONT><FO=
NT=20
  color=3D#000000></FONT><FONT color=3D#0000c0>
  <P><FONT size=3D2>&lt;head&gt;</FONT></P>
  <P><FONT size=3D2>&lt;meta http-equiv=3D</FONT></FONT><FONT =
size=3D2><FONT=20
  color=3D#000000>"Content-Language"</FONT><FONT color=3D#0000c0>=20
  content=3D</FONT><FONT color=3D#000000>"en-us"</FONT></FONT><FONT=20
  color=3D#0000c0><FONT size=3D2>&gt;</FONT></P>
  <P><FONT size=3D2>&lt;meta http-equiv=3D</FONT></FONT><FONT =
size=3D2><FONT=20
  color=3D#000000>"Content-Type"</FONT><FONT color=3D#0000c0> =
content=3D</FONT><FONT=20
  color=3D#000000>"text/html; charset=3Dwindows-1252"</FONT></FONT><FONT =

  color=3D#0000c0><FONT size=3D2>&gt;</FONT></P>
  <P><FONT size=3D2>&lt;meta name=3D</FONT></FONT><FONT size=3D2><FONT=20
  color=3D#000000>"GENERATOR"</FONT><FONT color=3D#0000c0> =
content=3D</FONT><FONT=20
  color=3D#000000>"Microsoft FrontPage 4.0"</FONT></FONT><FONT =
color=3D#0000c0><FONT=20
  size=3D2>&gt;</FONT></P>
  <P><FONT size=3D2>&lt;meta name=3D</FONT></FONT><FONT size=3D2><FONT=20
  color=3D#000000>"ProgId"</FONT><FONT color=3D#0000c0> =
content=3D</FONT><FONT=20
  color=3D#000000>"FrontPage.Editor.Document"</FONT></FONT><FONT=20
  color=3D#0000c0><FONT size=3D2>&gt;</FONT></P>
  <P><FONT size=3D2>&lt;title&gt;</FONT></FONT><FONT size=3D2><FONT=20
  color=3D#000000>Update a Transaction</FONT><FONT=20
  color=3D#0000c0>&lt;/title&gt;</P></FONT><FONT =
color=3D#000000></FONT></FONT><FONT=20
  color=3D#0000c0>
  <P><FONT size=3D2>&lt;script language =
=3Djavascript&gt;</FONT></FONT><FONT=20
  color=3D#800000><FONT size=3D2> </FONT></P>
  <P><FONT size=3D2>&lt;% if len(gcc)&gt; 0 and len(recordnumber)&gt;0 =
then=20
  %&gt;</FONT></P>
  <P><FONT size=3D2>window.opener.putintoarray(150,6545646); </FONT></P>
  <P><FONT size=3D2></FONT></P>
  <P><FONT size=3D2>&lt;% end if %&gt;</FONT></P>
  <P><FONT size=3D2>setTimeout('self.close();',3000);</FONT></P>
  <P><FONT size=3D2></FONT></P></FONT><FONT color=3D#0000c0 size=3D2>
  <P>&lt;/script&gt;</P></FONT><FONT color=3D#000000 size=3D2>
  <P>&nbsp;</P></FONT><FONT color=3D#0000c0>
  <P><FONT size=3D2>&lt;/head&gt;</FONT></P>
  <P><FONT size=3D2>&lt;body &gt;</FONT></P></FONT><FONT=20
  color=3D#000000></FONT><FONT color=3D#0000c0>
  <P><FONT size=3D2>&lt;/body&gt;</FONT></P>
  <P><FONT size=3D2>&lt;/html&gt;</FONT></P></BLOCKQUOTE></FONT><FONT=20
color=3D#000000></FONT></BODY></HTML>

------=_NextPart_000_005C_01C21BBF.B81BFA60--