G
Guest
I can't for the life of me figure out why my aspx can't find a JS function
that's in the same file. For instance, immediately after the info describing
the page and the registration of some assemblies, I have a function called
populateEntityDropdown used to populate a non-ASP combobox written entirely
in JavaScript, defined as follows:
function populateEntityDropdown() {
debugger
var x = 1; //checking to see if we can reach this spot
}
I've set the OnSelectedIndexChanged attribute of another ASP dropdown equal
to populateEntityDropdown() as
OnSelectedIndexChanged="populateEntityDropdown()". When I try to build the
site, I get an 'populateEntityDropdown' is not a member of
'ASP.CreateLetterTemplate_aspx' error.
Why won't ASP recognize my JavaScript function?
that's in the same file. For instance, immediately after the info describing
the page and the registration of some assemblies, I have a function called
populateEntityDropdown used to populate a non-ASP combobox written entirely
in JavaScript, defined as follows:
function populateEntityDropdown() {
debugger
var x = 1; //checking to see if we can reach this spot
}
I've set the OnSelectedIndexChanged attribute of another ASP dropdown equal
to populateEntityDropdown() as
OnSelectedIndexChanged="populateEntityDropdown()". When I try to build the
site, I get an 'populateEntityDropdown' is not a member of
'ASP.CreateLetterTemplate_aspx' error.
Why won't ASP recognize my JavaScript function?