On Aug 8, 7:49 pm, WilsonOfCanada <w...@sfu.ca> wrote: > Thanks, > It worked, but out of curiosity, what do the additional quotes change > (why are they needed)?
They're needed in Javascript, not in Django. If you looked at the generated source (via View Source in your browser) you could have seen that the outputted code looked like: onchange = "changeArea(myvalue);"> whereas myvalue is a string, not a variable name, so needed to be put in quotes. -- DR. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---