Confirm Dialog box in Visualforce
Hi,
Here is the example that you can use confirm dialog in Visualforce page.
Visualforce Page:
<apex:page tabstyle="account">
<apex:form>
<apex:pageBlock>
<apex:pageBlockSection title="Confirm dialog Demo" collpsible="true">
<apex:outputText> please click on button to populate confirm dialog</apex:outputText>
<apex:commandButton value="click to confirm" onclick="return confirm('are you want to submit');"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
0 comments:
Post a Comment