JS error, please help

Nov 6, 2010 at 5:11 AM
Edited Nov 6, 2010 at 5:15 AM


Can someone help me with this error I'm encountering. Please check the error details below. When I navigate to a new form with cascading lookups this JS error is thrown and the cascading lookups doesn't seem to work.

This is my first time to use the lookup so I'm not sure if I did the steps right.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)Timestamp: Sat, 6 Nov 2010 04:08:10 UTC

Message: 'CascadingDropdowns[...].parentLookup.Opthid' is null or not an objectLine: 17Char: 4Code: 0URI: http://phdev:17375/Shared%20Documents/spcd.js



These are my Lists:



- Title





<script type="text/javascript" src="http://phdert:17375/Shared%20Documents/spcd.js"></script>

<script type="text/javascript" >  

 var ccd1 = new cascadeDropdowns("Make", "Model", "Make", "Models", "Title");




Nov 6, 2010 at 7:07 AM

Hi all,


I've managed to fix the problem by moving the webpart below the entry fields.

Works fine!


Apr 5, 2011 at 8:03 PM

I second that micchy! That was my problem also. I would say that this needs to be added to the instructions. It took hours of retracing my steps to figure out this is what I did wrong.