I removed selectSingleOption but still get the same error. FWIW, removing that option removed the select but filter was still correct. I'm not sure how to look at network traffic to see if data looks off, but the filtering seems to be correct. Despite these errors, the script functions correctly in IE9, but the "newform" won't load correctly in IE8. It basically locks up with "errors with script on this page".
I did some digging and 'SCRIPT32811: Element not found' is happening on other pages on the site. Quick google shows it may be a problem with my machine so I don't think that's actually related
The error looks to me like it's having a problem with the jQuery itself.
I removed Cascadedropdowns and changed code to what is below and still get the error: SCRIPT5022: Syntax error, unrecognized expression: unsupported pseudo: child
jquery.min.js, line 2 character 59313
However, the popup shows my site correctly
I tried different versions on the hosted site as well as saving and referencing the script locally and nothing seems to help.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="/_LAYOUTS/1033/SCRIPTS/spservices/jquery.SPServices-0.7.2.min.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
alert($().SPServices.SPGetCurrentSite());
});
</script>
I am trying to research the SCRIPT5022 but not getting very far. Thanks for you suggestions and your time. If you or anyone else has any more input, I'd love to hear it!
Someone please help me write a script to give end users patience :)