
I have created a VF page which have many sections. When ever the page is reloaded, the focus goes to the first section instead of the current section.
How to fix this issue?
Thanks in advance...
1 answer
One option is javascript, you can place it on your page to specify which component should have focus. For example we have page that we don't want any focus...especially date fields so we place a blank function:
<script>
function setFocusOnLoad() {}
</script>