'SPCascadeDropdowns' : object is null

Jul 7, 2011 at 10:26 PM

Hi,

I'm trying to use SPCascadeDropdowns in my form, but im getting the following error: ( caught in IE console )

Can not get property value 'SPCascadeDropdowns': the object is null or not defined

The jquery script is being loaded, as the alert() is being fired on the screen. This could be that only the jquery.SPServices isnt being loaded?

Coordinator
Jul 7, 2011 at 11:48 PM

As you suspect, it's most likely you aren't referencing the SPServices .js file successfully. Check your reference.

M.

Jul 8, 2011 at 4:38 PM

Yeah, that was the problem. I was referencing first the spservice scipt then the jquery script. Just changed the order and it worked.

Coordinator
Jul 8, 2011 at 5:40 PM

That'll do it!

M.