I've searched the net and watched videos on this but no one really helps. What I want to do is add an already typed java script file to my aspx form in Visual web developer.All tell me that i should just add: \[code\]<html><head> <title><title><script src="http://stackoverflow.com/questions/15804096/JScript.js" type="text/javascript"></script></head></html>\[/code\]but....in an aspx form theres no \[code\]<head>\[/code\] or \[code\]<body>\[/code\] tags only:\[code\]<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server" /> </asp:Content><asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server" ></asp:Content>\[/code\]If even possible to add java script to this aspx form please give me the code or help me do this right.I have a picture and i want a button to change the picture to the next one in the gallery on my web pageEdit 1Here is the html code to the buttons and picture\[code\]<tr> <td> <asp:Button ID="Button1" runat="server" Text="Prev" OnClientClick="init();"/> </td> <td> <img ID="pic" alt="" src="http://stackoverflow.com/questions/15804096/010.JPG" runat="server" width="200" height="200" /> </td> <td> <asp:Button ID="Button2" runat="server" Text="Next" OnClientClick="init();"/> </td></tr>\[/code\]And here is the code to the javascript init()\[code\]var imagePath = new Array();var imageIndex = 0;function init(){ addPath("Bell.jpg"); addPath("Dads.png"); getImagePath(0);}function addPath(path){ var index = imagePath.length; imagePath[index++] = path; }function getImagePath(index){ var length = imagePath.length; if(index <= length){ if(index >= 0){ document.getElementById("pic").src = http://stackoverflow.com/questions/15804096/imagePath[index]; document.getElementById("pic").alt = imagePath[index]; imageIndex = index; } } else { document.getElementById("pic").src = "http://stackoverflow.com/questions/15804096/DOES NOT EXIST"; document.getElementById("pic").alt = "DOES NOT EXIST"; }}\[/code\]it doesn't appear to be calling the javascript init() method however