On 19 Apr, 16:46, Tofuwarrior <psbur...@googlemail.com> wrote:
> As a general principle is my approach ( ie pull the data from an
> action into the jQuery) correct.

I don't think your approach is fully correct.
You should never mix javascript and php code.
You should write php (and so html) as if javascript wouldn't exist.
Then, in a second step, add user interface enhancement with pure
javascript files.
It's a matter of separation of concerns: html (php) for structure, css
for presentation, javascript for behavior

cheers
Massimiliano

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to