A little difficult to explain but I'll do my best.
I was thinking I could just do a
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.
currentyear = document.getElementById("yearBox");
currentyear = document.getElementById("monthBox");
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
but have the same result.
currentyear = document.getElementById("yearBox").value;
currentmonth = document.getElementById("monthBox").value;
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.