DateTime.Now()
System.now()
date.today()
system.today()
|
<apex:page> <apex:pageBlock id="block1"> <apex:pageBlockSection id="section1" columns="2" collapsible="true" title="Title"> Example Area </apex:pageBlockSection> <script> twistSection(document.getElementById('{!$Component.block1.section1}').getElementsByTagName('img')[0]) </script> </apex:pageBlock> </apex:page>
<apex:page> <apex:pageBlock id="block1"> <apex:pageBlockSection id="section1" columns="2" collapsible="false" title="Title"> Example Area </apex:pageBlockSection> </apex:pageBlock> </apex:page>
<script> function myFunction() { //alert("Page is loaded"); var iframe = document.getElementById('myFrame'); var frameDoc = (iframe.contentDocument || iframe.contentWindow.document); frameDoc.getElementById('j_id0:SiteTemplate:j_id16:j_id17:j_id25:j_id26:j_id259').style.display = 'none'; //frameDoc.getElementById('j_id0:SiteTemplate:j_id16:j_id17:j_id25:j_id26:j_id67').style.display = 'none'; //alert("Page is loadedagain "); } </script>
<body onload="myFunction()"> <iframe id="myFrame" src="http://fullsb-aurea.cs16.force.com/internal/articles/en_US/Article/{!pkbCon.theKad.urlName}?l=en_US&fs=Search&pn=1" width="800" height="1000" ></iframe> </body>