0
我寫在其中,我使用動態組件我visualforce代碼visualforce Jquery的不工作是按預期在visualforce
<apex:page title="Salesforce SOQL Offset Example Using Visualforce" standardStylesheets="false" controller="dynamic_visualforce_with_soql_offset" sidebar="false" readOnly="true" cache="false" showHeader="false" >
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js"></script>
<script type="text/javascript">
$(function(){
$("[id$=prev]").click(function(){alert('Hello World');});
});
</script>
<apex:sectionHeader subtitle="SOQL Offset Example w/Dynamic Page Buttons" title="Square Root Table"/>
<apex:form >
<apex:pageBlock >
<apex:actionFunction action="{!refreshGrid}" name="queryByPage" reRender="myPanel,myButtons" >
<apex:param name="firstParam" assignTo="{!selectedPage}" value="" />
</apex:actionFunction>
<apex:dynamicComponent componentValue="{!myCommandButtons}"/>
<apex:pageBlockSection title="Numbers and their Square Roots (Total List Size: {!total_size})" collapsible="false">
<apex:outputPanel id="myPanel">
<apex:pageMessages id="theMessages" />
<apex:pageBlockTable value="{!numbers}" var="n" align="center">
<apex:column value="{!n.Id}" />
<apex:column value="{!n.Name}" />
<apex:facet name="footer">Showing Page # {!pageNumber} of {!totalPages}</apex:facet>
</apex:pageBlockTable>
</apex:outputPanel>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
和段,用於產生動態成分是
public Component.Apex.pageBlockButtons getMyCommandButtons() {
//the reRender attribute is a set NOT a string
Set<string> theSet = new Set<string>();
theSet.add('myPanel');
theSet.add('myButtons');
integer totalPages;
if (math.mod(total_size, list_size) > 0) {
totalPages = total_size/list_size + 1;
} else {
totalPages = (total_size/list_size);
}
integer currentPage;
if (selectedPage == '0') {
currentPage = counter/list_size + 1;
} else {
currentPage = integer.valueOf(selectedPage);
}
Component.Apex.pageBlockButtons pbButtons = new Component.Apex.pageBlockButtons();
pbButtons.location = 'top';
pbButtons.id = 'myPBButtons';
Component.Apex.outputPanel opPanel = new Component.Apex.outputPanel();
opPanel.id = 'myButtons';
//the Previous button will alway be displayed
Component.Apex.commandButton b1 = new Component.Apex.commandButton();
b1.id = 'prev';
b1.expressions.action = '{!Previous}';
b1.title = 'Previous';
b1.value = 'Previous';
b1.expressions.disabled = '{!disablePrevious}';
b1.reRender = theSet;
opPanel.childComponents.add(b1);
for (integer i=0;i<totalPages;i++) {
Component.Apex.commandButton btn = new Component.Apex.commandButton();
if (i+1==1) {
btn.title = 'First Page';
btn.value = 'First Page';
btn.rendered = true;
} else if (i+1==totalPages) {
btn.title = 'Last Page';
btn.value = 'Last Page';
btn.rendered = true;
} else {
btn.title = 'Page ' + string.valueOf(i+1) + ' ';
btn.value = ' ' + string.valueOf(i+1) + ' ';
btn.rendered = false;
}
if ( (i+1 <= 5 && currentPage < 5)
|| (i+1 >= totalPages-4 && currentPage > totalPages-4)
|| (i+1 >= currentPage-2 && i+1 <= currentPage+2))
{
btn.rendered = true;
}
if (i+1==currentPage) {
btn.disabled = true;
btn.style = 'color:blue;';
}
btn.onclick = 'queryByPage(\''+string.valueOf(i+1)+'\');return false;';
opPanel.childComponents.add(btn);
if (i+1 == 1 || i+1 == totalPages-1) { //put text after page 1 and before last page
Component.Apex.outputText text = new Component.Apex.outputText();
text.value = '...';
opPanel.childComponents.add(text);
}
}
//the Next button will alway be displayed
Component.Apex.commandButton b2 = new Component.Apex.commandButton();
b2.expressions.action = '{!Next}';
b2.title = 'Next';
b2.value = 'Next';
b2.expressions.disabled = '{!disableNext}';
b2.reRender = theSet;
opPanel.childComponents.add(b2);
//add all buttons as children of the outputPanel
pbButtons.childComponents.add(opPanel);
return pbButtons;
}
但是當我嘗試點擊上一個按鈕,它不顯示警報,我期待從jquery功能和HTML代碼是
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><script src="/faces/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript?rel=1361483299000" type="text/javascript"></script><link class="component" href="/faces/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/table.xcss/DATB/eAEz2rRkV-jyGdIAEoQD8g__" rel="stylesheet" type="text/css" /><script src="/jslibrary/1360895802000/sfdc/JiffyStubs.js"></script><script src="/static/101812/js/functions.js" type="text/javascript"></script><script src="/jslibrary/1360895802000/sfdc/main.js" type="text/javascript"></script><script src="/jslibrary/labels/1360895802000/en_US.js" type="text/javascript"></script><script src="/static/101812/desktop/desktopAjax.js" type="text/javascript"></script><script src="/static/101812/js/picklist.js" type="text/javascript"></script><script src="/jslibrary/1360895802000/sfdc/VFState.js" type="text/javascript"></script></head><script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js"></script>
<script type="text/javascript">
$(function(){
$("[id$=prev]").click(function(){alert('Hello World');});
});
</script><script> if(!window.sfdcPage){window.sfdcPage = new ApexPage();}
UserContext.initialize({"networkId":"","locale":"en_US","labelLastModified":"1360895802000","isDefaultNetwork":true,"today":"2/22/2013 10:38 PM","timeFormat":"h:mm a","userPreferences":[{"index":112,"name":"HideInlineEditSplash","value":false},{"index":114,"name":"OverrideTaskSendNotification","value":false},{"index":115,"name":"DefaultTaskSendNotification","value":false},{"index":119,"name":"HideUserLayoutStdFieldInfo","value":false},{"index":116,"name":"HideRPPWarning","value":false},{"index":87,"name":"HideInlineSchedulingSplash","value":false},{"index":88,"name":"HideCRUCNotification","value":false},{"index":89,"name":"HideNewPLESplash","value":false},{"index":90,"name":"HideNewPLEWarnIE6","value":false},{"index":122,"name":"HideOverrideSharingMessage","value":false},{"index":91,"name":"HideProfileILEWarn","value":false},{"index":93,"name":"HideProfileElvVideo","value":false},{"index":97,"name":"ShowPicklistEditSplash","value":false},{"index":92,"name":"HideDataCategorySplash","value":false},{"index":128,"name":"ShowDealView","value":false},{"index":129,"name":"HideDealViewGuidedTour","value":false},{"index":132,"name":"HideKnowledgeFirstTimeSetupMsg","value":false},{"index":104,"name":"DefaultOffEntityPermsMsg","value":false},{"index":135,"name":"HideNewCsnSplash","value":false},{"index":101,"name":"HideBrowserWarning","value":false},{"index":139,"name":"HideDashboardBuilderGuidedTour","value":false},{"index":140,"name":"HideSchedulingGuidedTour","value":false},{"index":180,"name":"HideReportBuilderGuidedTour","value":false},{"index":183,"name":"HideAssociationQueueCallout","value":false},{"index":194,"name":"HideQTEBanner","value":false},{"index":193,"name":"HideChatterOnboardingSplash","value":false},{"index":195,"name":"HideSecondChatterOnboardingSplash","value":false},{"index":270,"name":"HideIDEGuidedTour","value":false},{"index":282,"name":"HideQueryToolGuidedTour","value":false},{"index":196,"name":"HideCSIGuidedTour","value":true},{"index":271,"name":"HideFewmetGuidedTour","value":false},{"index":272,"name":"HideEditorGuidedTour","value":false},{"index":205,"name":"HideApexTestGuidedTour","value":false},{"index":206,"name":"HideSetupProfileHeaderTour","value":false},{"index":207,"name":"HideSetupProfileObjectsAndTabsTour","value":false},{"index":213,"name":"DefaultOffArticleTypeEntityPermMsg","value":false},{"index":214,"name":"HideSelfInfluenceGetStarted","value":false},{"index":215,"name":"HideOtherInfluenceGetStarted","value":false},{"index":216,"name":"HideFeedToggleGuidedTour","value":false},{"index":268,"name":"ShowChatterTab178GuidedTour","value":false},{"index":275,"name":"HidePeopleTabDeprecationMsg","value":false},{"index":276,"name":"HideGroupTabDeprecationMsg","value":false},{"index":222,"name":"TouchExternalLinkReminderSuppression","value":false},{"index":224,"name":"HideUnifiedSearchGuidedTour","value":false},{"index":226,"name":"ShowDevContextMenu","value":true},{"index":227,"name":"HideWhatRecommenderForActivityQueues","value":false},{"index":228,"name":"HideLiveAgentFirstTimeSetupMsg","value":false},{"index":232,"name":"HideGroupAllowsGuestsMsgOnMemberWidget","value":false},{"index":233,"name":"HideGroupAllowsGuestsMsg","value":false},{"index":234,"name":"HideWhatAreGuestsMsg","value":false},{"index":235,"name":"HideNowAllowGuestsMsg","value":false},{"index":236,"name":"HideSocialAccountsAndContactsGuidedTour","value":true},{"index":237,"name":"HideAnalyticsHomeGuidedTour","value":false},{"index":238,"name":"ShowQuickCreateGuidedTour","value":false},{"index":245,"name":"HideFilePageGuidedTour","value":false},{"index":250,"name":"HideForecastingGuidedTour","value":false},{"index":242,"name":"TouchHideOptoutHover","value":false},{"index":251,"name":"HideBucketFieldGuide","value":false},{"index":263,"name":"HideSmartSearchCallOut","value":false},{"index":265,"name":"HideSocialProfilesKloutSplashScreen","value":false},{"index":273,"name":"ShowForecastingQuotaAttainment","value":false},{"index":280,"name":"HideForecastingQuotaColumn","value":false},{"index":301,"name":"HideManyWhoGuidedTour","value":false},{"index":284,"name":"HideExternalSharingModelGuidedTour","value":false},{"index":298,"name":"HideFileSyncBannerMsg","value":false},{"index":299,"name":"HideTestConsoleGuidedTour","value":false},{"index":300,"name":"HideNetworkSetupOverlayGettingStarted","value":false},{"index":302,"name":"HideManyWhoInlineEditTip","value":false},{"index":303,"name":"HideSetupV2WelcomeMessage","value":false}],"orgPreferences":[{"index":257,"name":"TabOrganizer","value":true}],"startOfWeek":"1","isAccessibleMode":false,"ampm":["AM","PM"],"renderMode":"RETRO","userId":"00590000001MbZn","dateTimeFormat":"M/d/yyyy h:mm a","dateFormat":"M/d/yyyy","uiSkin":"Theme3","language":"en_US","siteUrlPrefix":""});
</script><div class="bPageTitle"><div class="ptBody secondaryPalette brandSecondaryBrd"><div class="content"><img src="/s.gif" class="pageTitleIcon" title="" alt="" /><h1 class="pageType">Square Root Table</h1><span class="titleSeparatingColon">:</span><h2 class="pageDescription">SOQL Offset Example w/Dynamic Page Buttons</h2><div class="blank"></div></div></div></div>
<form id="j_id0:j_id3" name="j_id0:j_id3" method="post" action="https://c.ap1.visual.force.com/apex/OpportunityManagement" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="j_id0:j_id3" value="j_id0:j_id3" />
<div class="apexp"><div id="j_id0:j_id3:j_id4" class="bPageBlock brandSecondaryBrd apexDefaultPageBlock secondaryPalette"><div class="pbHeader"><table border="0" cellpadding="0" cellspacing="0"><tr><td class="pbTitle"> </td><td id="j_id0:j_id3:j_id4:myPBButtons" class="pbButton "><span id="j_id0:j_id3:j_id4:myPBButtons:myButtons"><input id="j_id0:j_id3:j_id4:myPBButtons:prev" name="j_id0:j_id3:j_id4:myPBButtons:prev" onclick="return false;" value="Previous" disabled="disabled" title="Previous" type="button" /><input type="submit" name="j_id0:j_id3:j_id4:myPBButtons:j_id7_0" value="First Page" onclick="queryByPage('1');return false;" style="color:blue;" title="First Page" disabled="disabled" />...<input type="submit" name="j_id0:j_id3:j_id4:myPBButtons:j_id7_2" value=" 2 " onclick="queryByPage('2');return false;" title="Page 2 " /><input type="submit" name="j_id0:j_id3:j_id4:myPBButtons:j_id7_3" value=" 3 " onclick="queryByPage('3');return false;" title="Page 3 " /><input type="submit" name="j_id0:j_id3:j_id4:myPBButtons:j_id7_4" value=" 4 " onclick="queryByPage('4');return false;" title="Page 4 " /><input type="submit" name="j_id0:j_id3:j_id4:myPBButtons:j_id7_5" value=" 5 " onclick="queryByPage('5');return false;" title="Page 5 " />...<input type="submit" name="j_id0:j_id3:j_id4:myPBButtons:j_id7_9" value="Last Page" onclick="queryByPage('8');return false;" title="Last Page" /><input id="j_id0:j_id3:j_id4:myPBButtons:j_id7_10" name="j_id0:j_id3:j_id4:myPBButtons:j_id7_10" onclick="A4J.AJAX.Submit('j_id0:j_id3',event,{'similarityGroupingId':'j_id0:j_id3:j_id4:myPBButtons:j_id7_10','parameters':{'j_id0:j_id3:j_id4:myPBButtons:j_id7_10':'j_id0:j_id3:j_id4:myPBButtons:j_id7_10'} });return false;" value="Next" title="Next" type="button" /></span></td></tr></table></div><div class="pbBody"><script id="j_id0:j_id3:j_id4:j_id5" type="text/javascript">queryByPage=function(firstParam){A4J.AJAX.Submit('j_id0:j_id3',null,{'similarityGroupingId':'j_id0:j_id3:j_id4:j_id5','parameters':{'firstParam':(typeof firstParam!='undefined'&&firstParam!=null)?firstParam:'','j_id0:j_id3:j_id4:j_id5':'j_id0:j_id3:j_id4:j_id5'} })};
</script><div id="j_id0:j_id3:j_id4:j_id8"><div class="pbSubheader brandTertiaryBgr first tertiaryPalette"><h3>Numbers and their Square Roots (Total List Size: 37)</h3></div><div class="pbSubsection"><table class="detailList" border="0" cellpadding="0" cellspacing="0"><tr><td class="dataCol first last " colSpan="2"><span id="j_id0:j_id3:j_id4:j_id8:myPanel"><span id="j_id0:j_id3:j_id4:j_id8:theMessages"></span><table class="list " id="j_id0:j_id3:j_id4:j_id8:j_id35" align="center" border="0" cellpadding="0" cellspacing="0"><colgroup span="2"></colgroup><thead class="rich-table-thead"><tr class="headerRow "><th class="headerRow " scope="col" colspan="1" id="j_id0:j_id3:j_id4:j_id8:j_id35:j_id36header"><div id="j_id0:j_id3:j_id4:j_id8:j_id35:j_id36header:sortDiv">Opportunity ID</div></th><th class="headerRow " scope="col" colspan="1" id="j_id0:j_id3:j_id4:j_id8:j_id35:j_id37header"><div id="j_id0:j_id3:j_id4:j_id8:j_id35:j_id37header:sortDiv">Opportunity Name</div></th></tr></thead><tfoot><tr class=" "><td class=" " colspan="2" scope="colgroup">Showing Page # 1 of 8</td></tr></tfoot><tbody id="j_id0:j_id3:j_id4:j_id8:j_id35:tb"><tr class="dataRow even first " onmouseover="if (window.hiOn){hiOn(this);} " onmouseout="if (window.hiOff){hiOff(this);} " onBlur="if (window.hiOff){hiOff(this);}" onFocus="if (window.hiOn){hiOn(this);}"><td class="dataCell " id="j_id0:j_id3:j_id4:j_id8:j_id35:0:j_id36" colspan="1"><span id="j_id0:j_id3:j_id4:j_id8:j_id35:0:j_id40">00690000009t53P</span></td><td class="dataCell " id="j_id0:j_id3:j_id4:j_id8:j_id35:0:j_id37" colspan="1"><span id="j_id0:j_id3:j_id4:j_id8:j_id35:0:j_id41">Burlington Textiles Weaving Plant Generator</span></td></tr><tr class=" dataRow odd " onmouseover="if (window.hiOn){hiOn(this);} " onmouseout="if (window.hiOff){hiOff(this);} " onBlur="if (window.hiOff){hiOff(this);}" onFocus="if (window.hiOn){hiOn(this);}"><td class="dataCell " id="j_id0:j_id3:j_id4:j_id8:j_id35:1:j_id36" colspan="1"><span id="j_id0:j_id3:j_id4:j_id8:j_id35:1:j_id42">00690000009t532</span></td><td class="dataCell " id="j_id0:j_id3:j_id4:j_id8:j_id35:1:j_id37" colspan="1"><span id="j_id0:j_id3:j_id4:j_id8:j_id35:1:j_id43">Dickenson Mobile Generators</span></td></tr><tr class="dataRow even " onmouseover="if (window.hiOn){hiOn(this);} " onmouseout="if (window.hiOff){hiOff(this);} " onBlur="if (window.hiOff){hiOff(this);}" onFocus="if (window.hiOn){hiOn(this);}"><td class="dataCell " id="j_id0:j_id3:j_id4:j_id8:j_id35:2:j_id36" colspan="1"><span id="j_id0:j_id3:j_id4:j_id8:j_id35:2:j_id44">00690000009t53A</span></td><td class="dataCell " id="j_id0:j_id3:j_id4:j_id8:j_id35:2:j_id37" colspan="1"><span id="j_id0:j_id3:j_id4:j_id8:j_id35:2:j_id45">Edge Emergency Generator</span></td></tr><tr class=" dataRow odd " onmouseover="if (window.hiOn){hiOn(this);} " onmouseout="if (window.hiOff){hiOff(this);} " onBlur="if (window.hiOff){hiOff(this);}" onFocus="if (window.hiOn){hiOn(this);}"><td class="dataCell " id="j_id0:j_id3:j_id4:j_id8:j_id35:3:j_id36" colspan="1"><span id="j_id0:j_id3:j_id4:j_id8:j_id35:3:j_id46">00690000009t53W</span></td><td class="dataCell " id="j_id0:j_id3:j_id4:j_id8:j_id35:3:j_id37" colspan="1"><span id="j_id0:j_id3:j_id4:j_id8:j_id35:3:j_id47">Edge Emergency Generator</span></td></tr><tr class="dataRow even last " onmouseover="if (window.hiOn){hiOn(this);} " onmouseout="if (window.hiOff){hiOff(this);} " onBlur="if (window.hiOff){hiOff(this);}" onFocus="if (window.hiOn){hiOn(this);}"><td class="dataCell " id="j_id0:j_id3:j_id4:j_id8:j_id35:4:j_id36" colspan="1"><span id="j_id0:j_id3:j_id4:j_id8:j_id35:4:j_id48">00690000009t53H</span></td><td class="dataCell " id="j_id0:j_id3:j_id4:j_id8:j_id35:4:j_id37" colspan="1"><span id="j_id0:j_id3:j_id4:j_id8:j_id35:4:j_id49">Edge Installation</span></td></tr></tbody></table></span></td><td class="labelCol empty"> </td><td class="dataCol empty"> </td></tr></table></div></div></div><div class="pbFooter secondaryPalette"><div class="bg"></div></div></div></div><div id="j_id0:j_id3:j_id50"></div>
</form><span id="ajax-view-state-page-container" style="display: none"><span id="ajax-view-state" style="display: none"><input type="hidden" id="com.salesforce.visualforce.ViewState" name="com.salesforce.visualforce.ViewState" value="MA63ieZV6DutWvXPb7kRIOj7DrynuhDBBGRxoXWcgO8KsNPSEi/Is7ZqOSovPkkzY/HcY7C4PuFrpl49Z4hAYAfaYvqSnX8MBkuQwdAnNKLYuzwo9xyt7hnti5Z1Qvyx3LCBUGq1fXO9ez2R3T/jAr5gmSDfKrgWKYP2RA9ZFKW4nmWQkDF21djfWW+x90Q+/Yd8CJaQgPFnHCOrZ0jE4PcKbJHLxXjXMXyQox7YJSwvn/dR9KbBtd+seAMSsfzdiDbYhyiA+eK4V6hpsgULq2P2TQyhMDORhDGyasvyAl6247TKyPYKqdQUtqLLQgScnm5rZEK8hxK+q/FHSYXtSnt4a/L212syvrOidrsnHkByGGquhRlS935EEnr3skuZrTknFTRISOHggfEaSaSYAK1pbZe6+JLRGUcvcTyrzFPS3yDKF7jn/GldT+ZBATACl8G43zgiF0wi0q5K1VsC1VUKKIOc4C9QIQ3dClKAV5CNTvRuxElbf1HmRv2Z/JVDpihNRZB1WUhzRE+htsXT9+cwHJdq/gi1mrjHgN+gYWUBYAyJo1NTW0BTavu0+OduJ3aW+UCTG2OOgbYWEjn4+Ml+MDy2fAKgIJ9j6dD4IgqWqpyEne7ulSP0V8WWi3pGEo3io+1wjLMLpY7lhm22gxEBMXNok2uQjcNYud496X+ZhK/zwJB42erBjlg8PROF/2xTUMbhHbfpOI4FP43raurDPMGo9qUQZcka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S87MttvgEQ/MPwoBG8LDDwoype/n1lXqYAHFpwuZW88HbeW8xxYhUk575lX4t1SDxg8GSlzH0G/zc4XT+EmhhE4iQ0QlWZsqR/Xs6hE1Kwt1vJwPw55wb1DhE2UlnzQ6ZMZd1tCbdCoPsNqkYoZxnm1IIbsS4KWb5VIFvspWeMwZj2hyW58fC6ys1Cc8hmcQCIZ/WqhjhZzpoYpBhGG00AMXN5PySznFTlXW4m1KrZmmCVU2XubRm4DGjA6HdErJOUkIG1fYcN62klHdgu05TEooJVtN0d8FxlU1Hz8X7c57qBZbIf8Pw4Ko08P6/AJn0vpPXH8bgq1JYxXiKPfDqfTj3cSvasTfM/+Wiwiprf9njLGXpbRR3Vh8W6fblJxbuyRLDWTN5iZgmQ6t/i3gwANqwMvzUbaMEz/A/Q3FCzJUbU2oMZ9xQkIJ8eGF5zDtUMYsRc/uFFwdh0pTlLldXViqfg/es/NVVrUyectQ3C5LkkRDVzMUfhe3buIWsL/auBX6C+7axeqCUq4XKvF3VkQI9RMJ6ojA7shZfW20CPBXO2HOw0/Z2m0wlimj+cXm4JcbxWwzUDIfPqX0P4/3qJC97rfQWRCsG+E3/OcQOgLTP68oK1r5UJGlUKqLIbZ7LkRcFtUHrk9UI2+EAirNzQfN9XKyR7cGreqR2mvCrqlHR04SaP7IsANvAM3G8Vucv3JXsrMSZ24y1t5PzliRFvy3RQmiAghb5hWMw3D9HKJVSi0TyiWa5n2PfrmhpLAncfLFBGnNHdO+J0/Si+ol3Zug==" /><input type="hidden" id="com.salesforce.visualforce.ViewStateMAC" name="com.salesforce.visualforce.ViewStateMAC" value="AMSbDrRSOBNGR1ND25MOzi+FwtRF" /><input type="hidden" id="com.salesforce.visualforce.ViewStateCSRF" name="com.salesforce.visualforce.ViewStateCSRF" value="HstG2TeEX84IETB8fQXJRNQijn08gFetC_t.HHtJy6b7ALQVmuMakERB7DSwj5XD.CRirRUe6I0j2nyw7JWuxBsQYxmUjj6eCGtvSkSexGoSKatbkCIoTmS0Dp0vbkt.PCeJPnznWd0eK5mrnN_qm3Gnc_8=" /></span></span><script type="text/javascript">Sfdc.onReady(function(){
SfdcApp.Visualforce.VSManager.vfPrepareForms(["j_id0:j_id3"]);
});</script></html>
請任何一個可以告訴爲什麼它在按下後退按鈕
任何控制檯錯誤? – 2013-02-23 11:59:23