[thelist] What's wrong with this JScript??

Mike Ashton mashton at 4all.com
Wed, 01 Dec 1999 13:16:23 -0500


Jeff,

When using IE on the MAC I get the following error.

Line 53 document.cardok.title.value.length is not an object.

Which is from this bit of code.

 if ( eval(document.cardok.title.value.length) > 0 ) {
 write ("<font
style='font-size:",eval(document.cardok.titleSize.options[document.cardok.titleSize.selectedIndex].value)+Spacer,"px;'>");

 writeln (document.cardok.title.value,"</font>");
 }

Hope this helps.
Thanks,

Mike
====================================================================
Mike Ashton                                mashton@ematchcorp.com
eMatchCorp.com                             ph: 416.410.9863
3790 Victoria Park Ave. Suite 210          fx: 416.499.1275
Toronto, Ontario M2H 3H7                   http://www.ematchcorp.com
====================================================================
********                        NOTICE                     *********
This email may contain confidential and/or privileged information
for the sole use of the intended recipient.  Any review or
distribution by others is strictly prohibited. If you have received
this email in error, please contact the sender and delete all
copies. Opinions, conclusions or other information expressed or
contained in this email are not given or endorsed by the sender
unless otherwise affirmed independently by the sender.
====================================================================
PGP Fingerprint:                 mashton@4all.com
B449 07E4 9BF7 914A AFBA 1531 B576 9116 660A 1C40
====================================================================