Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#5952 closed feature (notabug)

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

Attachments (1)

main.html (1.2 KB) - added by ashwani2k 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by ashwani2k

Attachment: main.html added

comment:1 Changed 9 years ago by Scott González

Resolution: invalid
Status: newclosed

Please use the forum to ask questions, not the bug tracker.

comment:2 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.