I have a working asp.net page, everything was working properly till I moved the Script content to a separate js file. Example I have a script function:
function selectValue(){
var oldvalue = document.getElectByID(“<%=ddlAccountType.ClientID%>”).value
..
..
..}
Visual Studio is throwing an error saying JavaScript runtime error: Unable to get property ‘value’ of undefined or null reference. And this is just one example. Please help!