On Thursday, 06 November 2008 14:38:41 limas wrote:
> can i set the value of a ModelForm field ,ie a text box, using
> javascript.
Try JQuery. If your input box has an id "blah" then:
$('#blah').val("some new value")
would set it for you.
jQuery is very cool for this kind of thing.
hth,
\d
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---