If you work with Visualforce and the first field on your page is a date you’ll notice that when the page loads it’ll automatically open the date picker which is often not desirable. To fix this simply place this Javascript on your page:
<Script>
function setFocusOnLoad() {}
</Script>
0 Comments