onchange attribute won't call function <p>I have an HTML document (<a href="http://www.wikiupload.com/download_page.php?id=196262" rel="nofollow noreferrer">here</a>), which creates an iframe-based media player for a collection of songs within albums (I just used letters to define these albums and songs in the mymusic array, for simplicity).</p> <p>Focusing on the top 3 iframes, the way I have set out the user interaction is to generate the HTML for forms of available albums and songs using Javascript, and write them to the iframes in the body. If you run it and make a selection in the <strong>Albums</strong> menu, you will see that the options in the <strong>Songs</strong> menu correspond with the <code>mymusic</code> array, so this works.</p> <p>However, when I choose a song, the function <code>nowplaying(trackindex,albumindex)</code> should be called using an <code>onchange</code> event in the <strong>Songs</strong> form, the same way as in the form generated using <code>showinitial()</code> ... but the function does not get called.</p> <p>I have ruled out the coding of <code>nowplaying</code> itself as a cause, because even when I change <code>nowplaying</code> to <code>alert("hello")</code>, it does not get called. So this leads me to think the problem is with the <code>onchange</code> attribute in "anything", but I can't see the problem. The way I coded it is no different to before, and that worked fine, so why won't this work?</p> <p>Any help would be much appreciated! </p>