<apex:page sidebar=”false” showheader=”false”> <script> function changeFontColor(Id,textValue) { if(Id.checked) { document.getElementById(textValue).style.fontWeight = “bold”; document.getElementById(textValue).style.color= “green”; } else { document.getElementById(textValue).style.fontWeight = “Normal”; document.getElementById(textValue).style.color= “black”; } } </script> <apex:outputPanel layout=”block”> <label for=”checkbox”>Click this …
March 2012
-
-
<apex:page > <script language=”javascript”> function getCheckBoxValue() { alert(document.getElementById(‘{!$Component.myForm.pb1.pbs1.checkbox1}’).checked); } </script> <apex:form id=”myForm”> <apex:pageblock id=”pb1″> <apex:pageblockSection id=”pbs1″> <apex:inputCheckbox id=”checkbox1″ label=”Check Me” onclick=”javascript:getCheckBoxValue();”></apex:inputCheckbox> </apex:pageblockSection> </apex:pageblock> </apex:form> </apex:page>
-
Cases > Page Layouts Edit Page layout, on the top most you can find a button called ‘Layout Properties’. clicking on that will give you the ability to show/hide the …
-
create a command link and pass arguements. In the apex class you can get the parameters and use the value in your code. Visual Force Page: <apex:page controller=”showCammand”> <apex:form> <apex:commandLink …
-
Let’s suppose we have an archive in static resource with name “Contact” and you want to use this static resource on a page that displays Contact Photos dynamically. Assumption is …
-
Few important things one must know about the TABS are: Tabs can help you in making the views which help user to see the information at a glance. Example: List …
-
Every company wants to have a part of SAAS Pie. Salesforce.com is a clear leader at this point of time but faces stiff competition from some of the prominent well …
-
Junction Object or Many to Many Relationship in SFDC There is no out of box relationship present in SFDC i.e. Many to Many in nature, So to have a many …