Hi,
Please try to use ScriptBlock attribute to add custom javascript:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://ift.tt/TQ1shZ;
<CustomAction
Location="ScriptLink"
ScriptBlock="
document.write('<script type="text/javascript" src="~site/SiteCollectionDocuments/PDPScheduleExtension.js"></' + 'script>');"
Sequence="100" />
</Elements>
More information:
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
Dennis Guo
TechNet Community Support
No comments:
Post a Comment