Jump to content
Killersites Forums

HOw can I save datepicker in jquery to php


ehsan
 Share

Recommended Posts

Hi every body

i have problem to save datepicker jquery to php form and after it save in databse,

 

it's code of datepicker

 

<script type="text/javascript">

$(function() {

 

$('#datepicker0').datepicker();

 

});

-----------------

it's my form

<form method ="post" action = "dateprocess.php">

 

<input type="text" id="datepicker" />

<input type="button" name="button" id="button" value="check" onclick="javascript:alert(this.form.datepicker0.value);"/>

 

-----------------------------------------------

I can see my datepicker resault in my message but i dont know how send it to php variable or data base

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...