datepicker - Issue intergrating Protoplasm date picker in my web page, -


i needed date , time picker , protoplasm (http://jongsma.org/software/protoplasm/control/datepicker) had need have been unable work. unfortunately unable access api documentation (restricted).

i added web page displayed normal input field. after many attempts fix grabbed source of demo page not work.

i cut down code below. have checked , double checked includes exist in same dir code.

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>      <title>protoplasm</title>      <link rel="stylesheet" href="protoplasm.css" />      <script type="text/javascript" language="javascript" src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js"></script>      <script type="text/javascript" language="javascript" src="https://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.3/scriptaculous.js"></script>      <script type="text/javascript" language="javascript" src="protoplasm.js"></script>      <script type="text/javascript" language="javascript">          protoplasm.use('datepicker') .transform('.datetimepicker', { timepicker: true })      </script> </head> <body>     <div>         <h2>protoplasm</h2>         <form onsubmit="return false;">             <div style="float:left; width:250px;">date , time:</div>             <input class="datetimepicker"/>             <br />         </form>     <div>    </body> </html> 

i googled problem , found 2 answers on "stackoverflow" did not help.

protoplasm date picker : issue different datetime format

the code on above page did not work me either. @ loss check next. appreciate if make suggestion should check next.

i put , runs okay:

var d = {locale: 'es_ar', timepicker: true, use24hrs: true,          datetimeformat: 'dd-mm-yyyy hh:mm'}; protoplasm.use('datepicker').transform('input.datepicker', d ); 

the problem have not how capture event when date selected. want work date without time (without timepicker), used option 'onselect' not work, know how it?


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -