jQuery datepicker calendar - call to function updates database
Posted
by erbaker
on Stack Overflow
See other posts from Stack Overflow
or by erbaker
Published on 2010-05-14T18:46:15Z
Indexed on
2010/05/14
19:14 UTC
Read the original article
Hit count: 206
jQuery
|datepicker
So I'm using the datepicker plugin to make an availability calendar. Here is my javascript: http://pastebin.com/H7D9PcAg
When dpSetSelected() is called it is also calling dateSelected() which triggers the AJAX call to my PHP script. I need a way to only update the database if the date is clicked on and not pre-loaded. When I pre-load the dates they are sent to the PHP page and subsequently removed.
© Stack Overflow or respective owner