I created a custom .aspx page in sharepoint designer that uses sp.js and I reference it like this:
<SharePoint:ScriptLink ID="ScriptLink1" Name="SP.js" runat="server" OnDemand="false" Localizable="false" LoadAfterUI="True"></SharePoint:ScriptLink>
I also import Mootols which resides in a folder:
<script type="text/javascript" src="js/FUIL/mootools-core.js"></script>
for some reason I can't get these two scripts to work together, I even have a custom .js file which I created myself with some methods that use the Sharepoint javascript client object model to retrieve and update my Sharepoint lists that works just fine, what could be happening?, IE is giving me this error: "Object does not support this property or method" in sp.js, sp.ui.dialog.js sp.runtime.js and sp.core.js, always in line 2 which I try to debug and comes as an unreadable mess.
I'm using IE8 (and can't use other browsers).