Re: Custom Widget with jQuery?

2008-05-07 Thread Richard Dahl
I am building a very complex web app with django, filled with ajax-calls and javascript widgets. I use a bit of jQuery, some YUI and many extJs widgets. Other than adding classes to fields in my forms, I do all of the widget stuff on the client side. Seems easiest to me. -richard On 5/7/08, Kevi

Re: Custom Widget with jQuery?

2008-05-07 Thread Kevin Monceaux
-richard, On Wed, 7 May 2008, Richard Dahl wrote: > I am not sure exactly what you mean by 'not step on each others toes' > What exactly are you concerned with? You could very easily have a form > with 4 phone number fields: home, office, mobile, fax; using jQuery's > .class selector i.e. $(

Re: Custom Widget with jQuery?

2008-05-07 Thread Richard Dahl
I am not sure exactly what you mean by 'not step on each others toes' What exactly are you concerned with? You could very easily have a form with 4 phone number fields: home, office, mobile, fax; using jQuery's .class selector i.e. $(".phone").mask("(999)999-"); you could find all of the elem

Custom Widget with jQuery?

2008-05-07 Thread Kevin Monceaux
Django Fans, Could someone point me at some examples of custom widgets that use jQuery, or other javascript libraries if there's a better choice. For example, if I wanted to create a phone number widget using jQuery's masked input plugin, what would be the best way to go about it. I've just