You will want to check out how to create widgets.  Here might be an 
example you are looking for as well as a an example in general.

http://code.djangoproject.com/browser/django/branches/newforms-admin/django/contrib/admin/widgets.py

On 

2007-04-14 11:32:53 -0600, Ray Cote <[EMAIL PROTECTED]> said:

> 
> 
> Hello:
> 
> I'm trying to figure out the approved Django way to add a Javascript
> date picker (pop-up calendar) to a field while using newforms.
> 
> One way I see people adding date pickers is to give the field a
> specific class which the Javascript then attaches to during onload of
> the page. However, I don't see a way to add a class to a field with
> newforms.
> 
> Any help appreciated as I'm fairly new to both Django and JavaScript.
> --Ray
> 
> 
> 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to