overføre data'er fra asp ind i et JavaScript
Hvordan overføre jeg kil ind i mit javaScript ??og det skal kunne køre i en løkke
kil og FileName er det samme
<%
kil = rs2("lyd")
%>
<img onclick="if (!document.all.MMPlayer1.FileName) {if (confirm('Du skal have Microsoft MediaPlayer Installeret for at kunne høre musikken.\nVil du gøre dette nu ?')){document.location.href='http://www.microsoft.com/windows/windowsmedia/en/download/default.asp'; }}else {window.status='Henter musik...';this.style.cursor='wait';startplayer(this.name,document.all.MMPlayer1.FileName);}" name="playimg1" src="start.gif" border="0" alt="Afspil" style="cursor:'hand';">
