Hi all,

First time caller and a total noob to django (not new to development/
programming or anything though).

Have this bizarre thing going on. When I request a form (using the
FormsWizard) with my browser, everything works great. Specifically,
the input initial value is present:

forms.IntegerField(label="Gimme a number", initial=1)

renders:

<input....value="1"/>

Now, if I request the *exact same url* via ajax (using MooTools
Request class) everything comes back the same way, EXCEPT the default
value is not present. Not just not present in the DOM when it's
injected, it's not in the response text at all (according to Firebug).
I've tried altering the headers (specifically the X-Requested-With
header) to see if that had anything to do with it, but no dice.

Any suggestions would be most welcome.

Aaron

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

Reply via email to