Hi.
I am trying to do something like this:
views.py
return render_to_response('abc.html',{'variable':value})
abc.html
<script>
dummy = {{variable}};
</script>
<script src = "xyz.js"/>
My problem:
I am not able to use dummy inside xyz.js ....... OR is there some
other way by which I can use {{variable}} inside xyz.js ??
--
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.