Forum Replies Created
are often better for cooling We may not necessarily be buying the concept
-
kumel619User posts: 21
screenshot attached.
Attachments:
You must be logged in to view attached files.kumel619User posts: 21alright. seems perfect.
I have been facing problems all only related to date-picker & i m unable to fix it myself.
So i m integrating a timepicker which is related with date choosen.
Example: If today’s date is : 21-sep-2016
& Current time is : 09:00.So when today’s date is choose then i want timepicker to display hours after 4 hours. ie. 13:00 to 24:00
If date choosen was any other date then all time must be shown.
Regards
kumel619User posts: 21THANKS A LOT. 5 STARS!
kumel619User posts: 21yep! works completely fine! but how do we change date format? currently its in mm/dd/yyyy
Below my code for date picker:
<input type=”text” id=”StartDate” class=”form-control” style=”cursor:pointer; background:white;” placeholder=”Start Date” name=”StartDate” title=”StartDate” readonly required/>
kumel619User posts: 21but i wanna disable datepicker for destination text field 😮
kumel619User posts: 21looks like the class is applied on form. can’t it be assigned to div tag & then within those div tags date picker appears..
when form class is changed to : class=”input-daterange” all textfield in that form turns to datetimepicker.
kumel619User posts: 21on clicking destination also turns to be datepicker.
looks like your target it to form.
cant it be linked only to those datepickers?
<script>jQuery(‘#form1′).datepicker({ startDate:’now’});</script>
kumel619User posts: 21alright as u may know the StartDate must disable previous date & so if for StartDate i choose 27 then EndDate must disable previous dates selected from StartDate.
Its a range of date.
kumel619User posts: 21Alright this helped: jQuery(‘#StartDate, #EndDate’).datepicker({ startDate:’now’});
kumel619User posts: 21also after choosing the date, doesn’t really get selected into the field
kumel619User posts: 21seems like its causing problem to other text fields.
kumel619User posts: 21This reply has been marked as private.kumel619User posts: 21still not happening
kumel619User posts: 21you can view it here: http://webgen.in/vaahan/index.php
kumel619User posts: 21not disabled any dates
kumel619User posts: 21Didn’t help at all. i tried many but doesnt work.
Following my code for StartDate & EndDate :
<div class=”col-md-6″>
<input type=”text” id=”StartDate” class=”form-control” placeholder=”Start Date” name=”StartDate” title=”StartDate”/>
</div><div class=”col-md-6″>
<input type=”text” id=”EndDate” class=”form-control” placeholder=”End Date” name=”EndDate” title=”EndDate”/>
</div>This has to have date range & previous dates must be disabled.
Attachments:
You must be logged in to view attached files.kumel619User posts: 21this also doesn’t work:
<script type=”text/javascript”>
$(function () {
$(‘#datetimepicker6’).datetimepicker();
$(‘#datetimepicker7’).datetimepicker({
useCurrent: false //Important! See issue #1075
});
$(“#datetimepicker6”).on(“dp.change”, function (e) {
$(‘#datetimepicker7’).data(“DateTimePicker”).minDate(e.date);
});
$(“#datetimepicker7”).on(“dp.change”, function (e) {
$(‘#datetimepicker6’).data(“DateTimePicker”).maxDate(e.date);
});
});
</script>kumel619User posts: 21Alright alright. it works. thanks
kumel619User posts: 21Doesn’t seem to work stil
kumel619User posts: 21its urgent thank you
kumel619User posts: 21when i move slider “x” to 900 then car which cost 1000+ doesn’t display.
Only when x touches 1000 it displays cars. ***