Skip to content

Instantly share code, notes, and snippets.

@tyoshikawa1106
Last active December 16, 2015 11:18
Show Gist options
  • Save tyoshikawa1106/5426045 to your computer and use it in GitHub Desktop.
Save tyoshikawa1106/5426045 to your computer and use it in GitHub Desktop.
apex:include
<apex:page id="commonIncluded">
<apex:includeScript value="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" />
</apex:page>
<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