hi there,
i want to use ajax in newforms library. but when i use the below here:
class RegForm(forms.Form):
personalid = forms.CharField(label='ID',
widget=forms.widgets.TextInput({'onKeydown':
'Element.update("NO_CHECK", " <img src=http://mydomain/arrows.gif>");'
...
the html output is
<label id='id_personalid'>ID</label><input type='text'
id='id_personalid' onKeydown='Element.update("NO_CHECK",
" <img src=http://mydomain/arrows.gif>");'
you can see the <, >, " character was escaped.
how can i customize the fields in the newforms, or i walk the wrong
way ??
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---