Solved this problem using JQuery.

On Oct 6, 2:26 pm, Sonal Breed <[email protected]> wrote:
> Hi all,
>
> I am using a formset in my template. I want to invoke a javascript
> function as you click a key in any of the text-fields in this formset.
> How do I accomplish this? I did not find any documentation in this
> scenario.
>
>             {% for data in formset.forms %}
>             <tr>
>               <td>{{ data.name }} onKeyUp="CharCheck();"</td>
>               <td>{{ data.instructions }}</td>
>             </tr>
>             {% endfor %}
>
> Thanks,
> Sincerely,
> Sonal.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to