I would appreciate any help trying to understand how I'm supposed to solve this problem with jQuery and the ptTimeSelect jQuery plugin.
The ptTimeSelect plugin works as it is designed by clicking the icon which appears to the right of the input field. However, I would like this to work similar to the Calendar plugin where on focus in the input field it will also popup the time select element. I have tried chaining and putting the ptTimeSelect code within a function inside the focus() function, but neither work properly. Any direction would be greatly appreciated. Thanks. Spencer ########## Code ############ <html> <head> $(document).ready(function () { $('.widgetTime').ptTimeSelect({ labels: { x: 'Close', popup_link: '<img src="../images/clock.png" border="0" width="16" height="16">', set_time: 'Apply' }, bgcolor: '#fff', border_color: '#ff0000' }); $("#followup_time").focus(); }); </head> <body> <form> <input type="text" id="followup_time" name="followup_time" value="" class="widgetTime input_text"> </form> </body> </html>