Hello :)

> It's 2007. There's better ways of doing these things than littering
> your html with event handlers.

The way of using of such thing was:
<template context>
...
form.field_name js_fct_string
...

js_fct_handler could be something like this:

"onclick=some_js_fct(this)"

To achieve something like this i have to duplicate code of controls in
forms :/
And do some other modifications, I guess.
This way seems to me quite usefull, clean and simple.

Cheers :)


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to