I have a paging control that dynamically adds the individual page numbers for the user to click on, but I noticed that the page didn't want to refresh.
I did a lot of debugging and finally found where it was breaking; it's like it can't find the element h_page:
Code:
function do_Post(pageNum) {
var frm = document.forms[0];
try {
frm.h_page.value = pageNum;
frm.submit();
}
catch(Error) {
alert(Error.Message);
}
}
And then right at the top of the page I have to hidden variable:
Code:
<input type="hidden" id="h_page" value=""/>
What could be causing this? I've been stuck on this for a while and none of my googling has brought back anything that has helped me.