Search and Top Navigation
#5952 closed feature (notabug)
Opened August 16, 2010 05:13AM UTC
Closed August 16, 2010 12:15PM UTC
Last modified October 11, 2012 09:15PM UTC
I want Date time picker and default animation is Clip ...
Reported by: | ashwani2k | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.core | Version: | 1.8.4 |
Keywords: | datetime picker, javascript function | Cc: | ashwani2k |
Blocked by: | Blocking: |
Description
Hi All,
I Hv an code for Date Time Picker .
i m using 2 function 1). show date time picker threw text box click
and 2). animation function .
<script type="text/javascript">
$(document).ready(function() {
$("#datepicker").datepicker();
$("#anim").change(function() { $('#datepicker').datepicker ('option', {showAnim: $(this).val()}); });
});
and my html souce is like
<p>Date: <input type="text" id="datepicker" size="30"/></p>
<p>Animations:<br />
<select id="anim">
<option value="show">Show (default)</option>
<option value="slideDown">Slide down</option>
<option value="fadeIn">Fade in</option>
<option value="blind">Blind (UI Effect)</option>
<option value="bounce">Bounce (UI Effect)</option>
<option value="clip">Clip (UI Effect)</option>
<option value="drop">Drop (UI Effect)</option>
<option value="fold">Fold (UI Effect)</option>
<option value="slide">Slide (UI Effect)</option>
<option value="">None</option>
</select>
I want, no drop down list in my web form and default animation is clip (or any one).
so what should i do for animation javascript ??
$("#anim").change(function() { $('#datepicker').datepicker ('option', {showAnim: $(this).val()}); });
Plz do somthing
Thanks
Ashwani Kumar
Please use the forum to ask questions, not the bug tracker.