You need to sign in to do that
Don't have an account?

DatePicker issue
Hi,
I am using the following script to show many years in date picker. I have tabs in my vf page, when I use this code I am unable to switch between tabs. With out the script I was able to switch to other tabs. Any help to switch to others tab with the date picker code working fine wuld be appreciated.
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> <span id="hideThisHomePageComp"></span> <script type="text/javascript"> $j = jQuery.noConflict(); $j(document).ready(function() { var startYear=1985; var endYear=2024; var htmlStr=''; if(startYear<endYear){ for(i=startYear;i<endYear+1;i++){ htmlStr += "<option value=\""+i+"\">"+i+"</option>"; } $j('#calYearPicker').html(htmlStr); } $j('#sidebarDiv #hideThisHomePageComp').parent().parent().hide(); } ); </script>