<apex:page >
<apex:includeScript value="{! $Resource.jQuery}"/>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery("#message").html("Hello from jQuery!")
});
</script>
<h1 id="message"></h1>
</apex:page>
<apex:page >
<apex:includeScript value="{! $Resource.jQuery}"/>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery("#message").html("Hello from jQuery!")
});
</script>
<h1 id="message"></h1>
</apex:page>
本文标题:Static Resource jQuery
本文链接:https://www.haomeiwen.com/subject/glwefqtx.html
网友评论