How to get the value? To get the date selected in calendar by php after submit the form -


here code calendar on 1 page. want show value of calendar on next page when user clicks on submit button , move on next page.

<td>     <div data-date-format="yyyy-mm-dd" data-   date="document.write(date())" class="input-append date mydatepicker">         <input  type="text" value="" name="doj" size="16" class="span2" required>         <span class="add- on"><i class="icon-calendar"></i></span>     </div> </td> 

let's store date in parameter called date. link place want go like:

<a href=\"projectname/classname?myparam=" +  date + "\"  > 

in other class request param by: request.getparameter("myparam");


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -