<select onchange="nanoIpod(this);" name="nanoIpod" class="medium">
Your element has a name="nanoIpod"
, not an id
, thus you can not use the method document.getElementById() unless you give it also an id
. Take care, unlike the token name
, the id
must be unique
Another thing: Don't name you functions same as other global variables or as other id