This file contains hidden or 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> | |
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"/> | |
<script src="//code.jquery.com/jquery-1.9.1.js"></script> | |
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script> | |
<script> | |
// jquery funtion for pop up. | |
$(function () { | |
$('#a').click(function(){ |
This file contains hidden or 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="pageId"> | |
<head> | |
<script src="/soap/ajax/20.0/connection.js" type="text/javascript"></script> | |
<script> | |
window.onload = function() { | |
var output = document.getElementById("output"); | |
var startTime = new Date().getTime() | |
try { | |
sforce.connection.sessionId = "{!$Api.Session_ID}"; //Used for Session out | |
var queryResult = sforce.connection.query("Select Name, Industry From Account where Name != null"); |
This file contains hidden or 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 controller="EmailComposePageController" sidebar="false"> | |
<apex:form style="width: 70%; margin-left: 15%;"> | |
<apex:pageMessages ></apex:pageMessages> | |
<apex:pageBlock title="Email"> | |
TO::<apex:inputText style="width:100%" value="{!emailVal}"/><br> | |
CC::<apex:inputText style="width:100%" value="{!cc}"/> </br><br> | |
Subject::<apex:inputText style="width:100%" value="{!emailSubject}"/></br><br> | |
Attachment::<apex:inputFile value="{!att.body}" fileName="{!att.name}"/> | |
<apex:commandButton title="Upload" action="{!upload}" value="Upload"/><BR/> | |
<apex:repeat value="{!attList}" var="att"> |
This file contains hidden or 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 standardController="Custom_Object__c" sidebar="false" showHeader="false" id="ThePage"> | |
<style> | |
.txt{ | |
font-size: large; | |
} | |
.txtSelected{ | |
color: white; | |
} | |
.txt:hover{ |
This file contains hidden or 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 controller="saveBarCodeController" id="PAGE" sidebar="false"> | |
<script> | |
function checkLength(){ | |
var upc = document.getElementById("PAGE:FORM:BLK:PBSEC:PBSITEM:UPC").value; | |
if(upc.length != 12){ | |
alert("Entered Code must be of 12 Digits."); | |
return false; | |
}else{ | |
return true; | |
} |
This file contains hidden or 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 renderAs="pdf" standardController="Lead" extensions="PDF_Page_Controller" action="{!savePDF}"> | |
This is the Pdf page of Lead "{!lead.Name}". | |
</apex:page> |
This file contains hidden or 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
public class Radio_Ex{ | |
Public String answer{set;get;} | |
public List<SelectOption> getItems() { | |
List<SelectOption> options = new List<SelectOption>(); | |
options.add(new SelectOption('Yes','Yes')); | |
options.add(new SelectOption('No','No')); | |
return options; | |
} | |
} |
NewerOlder