Hi, I know how to do this:
class CalendarWidget(forms.TextInput):
class Media:
js = ('animations.js', 'actions.js')
But then i get something like: "<script type="text/javascript" src="http://media.example.com/animations.js
">"
What I want is something like this:
<script>callMYFunction(sdf); </script>
By doing something like this:
class CalendarWidget(forms.TextInput):
class Media:
js = (callMYFunction(sdf),)
But I can't get this do work.. Any ideas?