hi Chew, Thanks. I have found out the html code that i render is invalid. :P too tire for late night programming
Regards, MH On Sun, May 27, 2012 at 11:17 AM, Chew Kok Hoor <kokh...@gmail.com> wrote: > Hi Min Hong, > > I think you need to provide a simple example, of values in the context > (programs, generate_html,generate_script), your template and the result as > well as the expected result so that it is easier for forum members to help > you. > > Thanks. > > Regards, > Kok Hoor > > On Sun, May 27, 2012 at 4:28 PM, Min Hong Tan <tan.dja...@gmail.com>wrote: > >> hi all, >> >> i have one question >> return render_to_response(mainPageTemplate, >> {'programs':find_program , >> 'generate_html':generate_html, >> 'generate_script':generate_script >> }, >> context_instance=RequestContext(request)) >> >> on the above return value. i have two parameter one is return string >> value with javascript and html components. >> i have put the {% autoescape off %} as well to avoid conversation. but, >> i noticed it seems like can not capture the >> html 's component that i specified in the generate_html. even >> javascript put at $(document).ready(function(){ } >> is it i left out anything? thanks >> >> >> Regards, >> MH >> >> -- >> 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 >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > -- > 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.