Remove select boxes
$30-250 USD
Betalades vid leverans
This is a very very small job.
It consists in removing 4 date select boxes and converting them into input fields.
Now it is possible to select dates from some drop down select boxes AND also from a javascript calendar.
I want to cancel the drop down select boxes and only allow selection from the javascript calendar.
Instead of the select boxes must be an input field or something similar, where date chosen in the calendar is displayed.
I'll send the actual script to be modified and the url where it is displayed to see in action to the freelancer interested.
THIS IS THE PART OF THE CODE TO MODIFY AND ATTACHED A JPG IMAGE TO BE MORE CLEAR.
<select id='checkin_day' name='checkin_monthday' class='checkin_day' onChange="checkDateOrder(this,'checkin_monthday','checkin_year_month','checkout_monthday','checkout_year_month');updateDaySelect(this);">
<option class='day prompt' value='0'>Day</option>
<?php
$selected_day = date("d");
for($i=1; $i<=31; $i++){
echo "<option value='".$i."'".(($selected_day == $i) ? " selected='selected'" : "").">".$i."</option>";
}
?>
</select>
<select id="checkin_year_month" name="checkin_year_month" class="checkin_year_month" onChange="checkDateOrder(this,'checkin_monthday','checkin_year_month','checkout_monthday','checkout_year_month');updateDaySelect(this);">
<option class="month prompt" value="0">Month</option>
<?php
$selected_year_month = date("Y-n");
for($i=0; $i<12; $i++){
$cur_time = mktime(0, 0, 0, date("m")+$i, "1", date("Y"));
$val = date("Y", $cur_time)."-".(int)date("m", $cur_time);
echo "<option value='".$val."' ".(($selected_year_month == $val) ? "selected='selected'" : "").">".get_month_local(date("n", $cur_time))." '".date("y", $cur_time)."</option>";
}
?>
</select>
Projekt-id: #2574604
About the project
Tilldelades:
I can not bid less than $30 so i have to bid the same. Let's start and i will complete in max an hour. Let me know if you any query.
18 frilansare har lagt bud på i genomsnitt $44 för det här jobbet
Hi there, It's a very small fix I can do it right now and fix this issue. I assure you that we will complete the project within the estimated time period. We are looking to develop a long term relationship with your Mer
Hello sir, I am experienced programmer in php / javascript. I can start and fix your work within a 30 minutes. Let me do this for you. thanks
I have implemented same functionality in various projects. Not only date picker but time picker as well. I have attached screenshot for your review.
Hi there! I am available to start work immediately, and could complete this within 24 hours! I am also here for any additional edits you need once the project is over free of charge!