ResourceLinks ResourceFile - script defer attribute?
Hi,
How can I set the "defer" attribute on a script added through a ResourceFile control?
Example:
<sf:ResourceLinks ID="resourceLinks" runat="server" UseEmbeddedThemes="false"> <sf:ResourceFile Name="~/js/script.js" Static="true" /></sf:ResourceLinks><script src="/js/script.js" type="text/javascript"></script>Hello Thomas,
Unfortunately this is not possible out of the box. If you wish to add a script with such attribute you could use a master page and hardcode the script tag there.
All the best,