Unlocking an additional layer of safety to your iPhone is less difficult than you might suppose. With Two-Factor Time-Based One-Time Password (TOTP) authentication, you may bolster your device's protection and other website safety without relying on 1/3-party apps. Here's how you could set it up:
Some time we need to send a variable value to apex class variable in visualforce page. There are many ways to do this. Here is very simple way to do this.
<apex:actionFunction id="ID" name="javascriptFunction" action="{!valuesUsingJS}">
<apex:param value="" name="parameterName1"/>
<apex:param value="" name="parameterName2"/>
</apex:actionFunction>
Yes, you are right. We are using action function here and sending value using parameter's as we do in class functions or javascript function. Here the next is pass values in these parameter.
Now get these values in apex class.javascriptFunction(
parameterName1, parameterName2);public void valuesUsingJS() { String Value1 = ApexPages.currentPage().getParameters(). get('parameterName1');
String Value1 = ApexPages.currentPage().getParameters(). get('parameterName2'); System.debug(value1); System.debug(value2);
}