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
Shalini RShalini R 

DatePicker need to show full image infront of salesforce page layout ?

Hi All,
I created one DatePicker field on visualforce page using Jquery. Then i added these visualforce page on Account layout. DatePicker does not showing full image on pagelayout. But if i increased Visualforce page Width and height, it will display full datepicker image. Without increase Vf properties how to achieve this ?
I tried it by using z-index but does not showing full datepicker image. Kindly share your comments if you know the answer.

Code  -
<style>
#datepicker{
    z-index: 9999;
    position: absolute;
     display: inline-block; 
  }
</style>
<script>
 $('#datepicker').datepicker();
</script>
Date<input id="datepicker" type="text"/>

DatePicker image showing on PageLayout

User-added image


Thanks.