07 May 2012
18 Oct 2012
Link to this post
I have some external JS files used by my master page and my user control. However, the jQuery code does not work at all. I tried using
as well as using
<asp:ScriptManager ID="ScriptManager" runat="server" LoadScriptsBeforeUI="true" >
<asp:ScriptReference Path="~/JS/scripts.js" ScriptMode="Debug" />
as suggested by http://www.sitefinity.com/devnet/forums/developing-with-sitefinity-/problems-getting-jquery-scripts-to-work-if-only-added-to-the-master-page. Neither of them has solved my problem. All the JS files are successfully "GET" as shown by FireBug.
E.g. I set a breakpoint at the "jQuery(document).ready(function ($) " line and tried to step in. However the process paused at the "jQuery(document).ready(function ($) " line, and after I hit "step in", it just exitted, leaving the rest of the initialization code untouched.
Any suggestions ?