A little difficult to explain but I'll do my best.
I was thinking I could just do a
currentyear = document.getElementById("yearBox");
currentyear = document.getElementById("monthBox");
to get the value from the text boxes with ID "yearBox" and monthbox based upon what is fed into them from when the server side script runs.
This for some reason doesn't happen. The text boxes have the values in them but the document.getElementById("monthBox"); is "null" or just blank. I've also tried changing them to
currentyear = document.getElementById("yearBox").value;
currentmonth = document.getElementById("monthBox").value;
but have the same result.
Anyone know how to getting the values from the text boxes that come from when the server side script is ran? Is there something specific that must be done on the .net side of things?
Hope this makes sense.