Hi all,
May someone help me calling javascript functions?
In my edit.kid I would like to insert a javascript function like this:
<script>
function help(){
alert ('Ciao')
}
</script>
This one works, but if I move the function to a file into
myproject/static/javascript/help.js
it doesn't work anymore.
This is my definition in my edit.kid:
<head>
<script type="text/javascript" src="/static/javascript/help.js"></script>
</head>
What's wrong with it?
jo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---