Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-08-2009, 03:45 PM   #1 (permalink)
v7n Mentor
 
Sketch's Avatar
 
Join Date: 05-06-04
Location: London, UK
Posts: 664
iTrader: 0 / 0%
Latest Blog:
None

Sketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web pro
jQuery - Date Picker

I've jumped on board someone elses project and am having some issues.

They have used Smarty to build the site *Grrrr* and they have also use the Date Picker add-on for Jquery, I don't have an issue with this but I can't get the simplest bit of code to work and I don't understand why.

I have an input box

Code:
<input class="date pic text" id="date" name="date" style="width:auto" value="{$date|date_format:'%d/%m/%Y'}" />
And at the bottom of the template file I have a literal tag and the following javascript

Code:
$('#date').datepicker({ startDate:'01/01/2009', endDate:'01/01/2011' });
The code will create the date picker, but the start date and end date aren't working... It keeps the default of 1999 / 2019. Does anyone know why this isn't working?

I've also updated jquery & date picker to the latest versions.
Sketch is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
my contact form isnt sending all avriables through to the email. (jquery/ajax/php) sambkk Coding Forum 1 10-28-2008 01:14 AM
google Adsense colour picker Sabeur Contextual Networks 3 01-07-2007 05:37 PM
PS Colour picker DaveyBoy Graphic Design Forum 2 11-16-2006 05:50 PM
Pixie Color Picker Jazzee Web Design Lobby 15 11-23-2003 12:50 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 02:07 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.