You need to sign in to do that
Don't have an account?
N c
How to display the cursor in 2nd field in Vf Pages?
Hi ,
My question is ,i have two fields in Visual fofrce page. at the time of loading the page the cursor will be displaying in fisrt field. i want to display the cursor in 2nd field .
how to solve this problem?
My question is ,i have two fields in Visual fofrce page. at the time of loading the page the cursor will be displaying in fisrt field. i want to display the cursor in 2nd field .
how to solve this problem?
u have sufficient ping me..
can you provide me another solution
http://rjpalombo.com/2012/04/override-a-standard-salesforce-page-with-visualforce/
You can use javascript to select any input components based on their ids, But u need to make sure complete component ID
<apex:inputText value="{!value1}" id="input1"/>
<apex:inputText value="{!value2}" id="input2"/>
<script>
document.getElementById('{!$Component.input2}').focus();
</script>