On 12 Lug, 08:42, Przemek Gawronski <[EMAIL PROTECTED]>
wrote:
> Hi, any one willing to share some examples of django newforms with
> jQuery?
Few months ago I posted on djangosnippets.org a widget that uses the
jquery autocomplete plugin written by Jörn Zaefferer, have a look at
http://www.django
Przemek Gawronski wrote:
>
> What I'm looking for now is, how to redirect to a different page with
> the button, and sending to the page (django view) the id number.
>
> Przemek
If you don't want to use ajax you can either use a form as normal to
submit it and then issue a redirect at the serv
> I'm assuming that you want to use some form a AJAX type request/response
> for this?
Well, once I'll feel comfortable with django and js, then probably, but
not at the moment.
> As an outline you might want to do something like this:
> Display your list as a table
> Use your workorder id as
Przemek Gawronski wrote:
> I want to show to the user a list of workorders with the possibility
> to select one (probably I should use a radio button for that), above
> the list are a couple of buttons that allow to display some extra
> information for the selected workorder like a list of time sh
> I have no idea what you're trying to do with your form,
How about something like this: in my model I've got a class Workorder,
with some info about it. For the Workorder there are time sheets,
printouts and some other objects.
I want to show to the user a list of workorders with the possibilit
> This__ isn't interesting, but it *is* an example. :-)
> .. __: http://groups.google.com/group/django-users/msg/c8f7d18eb79d9aa1
It's definitely a start, thanks!
Przemek
--
AIKIDO TANREN DOJO - Poland - Warsaw - Mokotow - Ursynow - Natolin
info: http://www.tanren.pl/ phone: +4850151 ema
> Well, in general, I'm pretty new to web development including javascript
> (but with 7 years of python coding) so I just wanted to see what (and
> how) people do newforms and jQuery to get the idea.
This__ isn't interesting, but it *is* an example. :-)
.. __: http://groups.google.com/group/dja
Well, jquery is just a framework for javascript, much like Django is a
framework for python. So the real question is, what are you trying to
do... validation? Hide and show elements? Send ajax requests back and
forth? Without knowing what you're trying to do, I can't really help.
On Jul 12, 2:28
> I have no idea what you're trying to do with your form, but I've used
> jquery and newforms together. Without knowing waht you're trying to
> do, I can't give any specific advice or tips, but at the most basic
> level, you just grab the element you want: $("#id_foo") and you're on
> your way.
W
I have no idea what you're trying to do with your form, but I've used
jquery and newforms together. Without knowing waht you're trying to
do, I can't give any specific advice or tips, but at the most basic
level, you just grab the element you want: $("#id_foo") and you're on
your way.
On Jul 12,
> What do you mean? Perhaps you should go to the jQuery-EN group and
> look for examples of form manipulation there.
Thanks, I'll do that!
Przemek
--
AIKIDO TANREN DOJO - Poland - Warsaw - Mokotow - Ursynow - Natolin
info: http://www.tanren.pl/ phone: +4850151 email: [EMAIL PROTECTED]
-
What do you mean? Perhaps you should go to the jQuery-EN group and
look for examples of form manipulation there.
J
On Jul 12, 7:42 am, Przemek Gawronski <[EMAIL PROTECTED]>
wrote:
> Hi, any one willing to share some examples of django newforms with
> jQuery?
>
> Thanks in advance!
>
> Przemek
>
12 matches
Mail list logo