Skip to content

Instantly share code, notes, and snippets.

@lucasjans
Created January 31, 2012 21:48
Show Gist options
  • Save lucasjans/1713146 to your computer and use it in GitHub Desktop.
Save lucasjans/1713146 to your computer and use it in GitHub Desktop.
Trying to load script in specific place
//snippet inside a page_load event
DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceManager.RegisterScript(Page, "http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js", DotNetNuke.Web.Client.FileOrder.Js.jQuery, "PageHeaderProvider")
@irobinson
Copy link

Hmm, you should be able to register jQuery Mobile with a priority of 6 and it'll load immediately after jQuery. Has that worked for you?

Glad to you had a good trip - too bad ours didn't overlap! Any reason not to just go back in April? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment