Last active
December 16, 2015 11:18
-
-
Save tyoshikawa1106/5426045 to your computer and use it in GitHub Desktop.
apex:include
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page id="commonIncluded"> | |
<apex:includeScript value="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" /> | |
</apex:page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page id="page"> | |
<apex:include pageName="CommonIncludedPage"/> | |
<apex:form > | |
<h1>Included Demo</h1> | |
</apex:form> | |
<script> | |
$j = jQuery.noConflict(); | |
$j(function(){ | |
$j('h1').css( "color", "red" ); | |
}); | |
</script> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment