Aug 1, 2010 #1 kathymac Programmer Nov 25, 2009 7 CA Hi I have some Javascript code: and I am getting the "Object doesn't support this property or method error: sTemp = "This is a test"; iLength = sTemp.length; sNew = sTemp.substring(1, iLength);
Hi I have some Javascript code: and I am getting the "Object doesn't support this property or method error: sTemp = "This is a test"; iLength = sTemp.length; sNew = sTemp.substring(1, iLength);
Aug 2, 2010 #2 BillyRayPreachersSon Programmer Dec 8, 2003 17,047 GB The code you've posted works just fine, so I would say the problem lies elsewhere. Can you post all of your code, or better still, a URL to the page in question? Dan Coedit Limited - Delivering standards compliant, accessible web solutions Dan's Page [blue]@[/blue] Code Couch: http://www.codecouch.com/dan/ Code Couch Snippets & Info: http://www.codecouch.com/ The Out Atheism Campaign Upvote 0 Downvote
The code you've posted works just fine, so I would say the problem lies elsewhere. Can you post all of your code, or better still, a URL to the page in question? Dan Coedit Limited - Delivering standards compliant, accessible web solutions Dan's Page [blue]@[/blue] Code Couch: http://www.codecouch.com/dan/ Code Couch Snippets & Info: http://www.codecouch.com/ The Out Atheism Campaign