Skip to content

Instantly share code, notes, and snippets.

@liketaurus
Last active December 17, 2015 07:29
Show Gist options
  • Save liketaurus/de02c6c197f0a93108a0 to your computer and use it in GitHub Desktop.
Save liketaurus/de02c6c197f0a93108a0 to your computer and use it in GitHub Desktop.
How to display jQuery's Datepicker in specified position when user clicks on a text span element
<span class="float_right" id="clock"
onclick="$('#clock').datepicker('dialog', '', function () {}, {showButtonPanel: true}, [$(window).width() - 209, 27]);">
</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment