jQuery: The Write Less, Do More JavaScript Library

$("#datepicker").datepicker is not a function

View: New views
3 Messages — Rating Filter:   Alert me  

$("#datepicker").datepicker is not a function

by Priya-27 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


hi i am getting this error when i was trying to use the jquery
datepicker widget.Can you please help me to solve this issue?

Re: $("#datepicker").datepicker is not a function

by Charlie Tomlinson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

if a jQuery function throws "is not a function" error it's because that function is not available when you call it. Available means browser hasn't loaded it, so either you don't have script files in correct order or a path to file problem

jQueryUI site explains the order, path easy to check in browser.

Priya wrote:
hi i am getting this error when i was trying to use the jquery
datepicker widget.Can you please help me to solve this issue?

  


Re: $("#datepicker").datepicker is not a function

by Cesar Sanz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Make jure your datepicke script is loaded first in your browser..
 
You can use firebug to see if the script is laoded correctly
----- Original Message -----
Sent: Thursday, July 02, 2009 12:00 PM
Subject: [jQuery] Re: $("#datepicker").datepicker is not a function

if a jQuery function throws "is not a function" error it's because that function is not available when you call it. Available means browser hasn't loaded it, so either you don't have script files in correct order or a path to file problem

jQueryUI site explains the order, path easy to check in browser.

Priya wrote:
hi i am getting this error when i was trying to use the jquery
datepicker widget.Can you please help me to solve this issue?