If it is the Standard page then you will need to use heavy javascript however if it is the custom VF page. Then create a span element and on page load focus this element.
You can check Question 100 in below Salesforce Interview Questions.
If it is the Standard page then you will need to use heavy javascript however if it is the custom VF page. Then create a span element and on page load focus this element.
You can check Question 100 in below Salesforce Interview Questions.
I tried by the way you told. It is working fine. But whenever i changes any picklist field which is having action support : onchange event, then the focus is again going to the first input field. How to prevent that?
It is Custom Page or Standard Page?
If it is the Standard page then you will need to use heavy javascript however if it is the custom VF page. Then create a span element and on page load focus this element.
You can check Question 100 in below Salesforce Interview Questions.
http://shivasoft.in/blog/salesforce/salesforce-interview-questions-part-10/
All Answers
It is Custom Page or Standard Page?
If it is the Standard page then you will need to use heavy javascript however if it is the custom VF page. Then create a span element and on page load focus this element.
You can check Question 100 in below Salesforce Interview Questions.
http://shivasoft.in/blog/salesforce/salesforce-interview-questions-part-10/
I tried by the way you told. It is working fine. But whenever i changes any picklist field which is having action support : onchange event, then the focus is again going to the first input field. How to prevent that?