function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Amy ThroppAmy Thropp 

How to control cursor behavior

Hi all,

I have a visualforce component that allows a user to do a price lookup when on the accounts page. When the page renders, the cursor goes to the data entry field in the visualforce component. Because that component is towards the bottom of the page, the page scrolls past all the basic account information and the cursor is placed in the component's data entry field. Entry is not required, just there for convenience. 

Any way to control this behavior?

Thanks,

Amy Thropp

 
shashi lad 4shashi lad 4
Did you try to wrap component between <div> tag ?

- shashi