JQuery UI - Datepicker - Display date in another element -


i have following code on codepen.

http://codepen.io/anon/pen/pnyvg

my aim allow users input own dates , gets outputted element in more readable format e.g. type date or choose date, , display date in paragraph tag in following format "wednesday 7th august".

also, have few additional pieces of functionality require, awesome if give me direction;

  • once date outputted paragraphs each input, output number of nights in between 2 dates element
  • be able use same date picker both inputs. similar behaviour used on following form; http://www.hipmunk.com/hotels-search

it great if guys me out.

thanks in advance,

b

look here started:

$(function() {     $( "#datepicker" ).datepicker({         altfield: "#alternate",         altformat: "dd, d mm, yy"     }); }); 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -