L
ljlolel
I'm posting this again because I did not explain myself well the first
time, so the problem was not being addressed. I made the following
page ( http://perla.princeton.edu/counselors/organization.php ) solely
for the purpose of showing a bug. It is not production code, it is a
test, made for testing, so style really doesn't matter.
This page illustrates that, for some reason, clicking on the submit
button has a different effect on the results page than running the
javascript submit() function. Try it out for yourself. Click the
submit button on top. It returns results 1-15 of the organizations at
nacacnet.org. Now, click the second button, which runs the javascript
submit() function, it returns results 76-90. This is what _should_ be
returned. Unfortunately, I cannot understand why clicking the submit
button should be any different, since the same fields are posted to the
server (use Firefox's page info while the results are loading to see
that this is true). Are the headers different for some reason?
I do not need a solution or an alternative, as this is not a real page
for production use, nor is it an example page for production use. I
have an intellectual curiosity to understand how javascript works at
the most basic level to understand why different results would come
between these two methods of submitting.
time, so the problem was not being addressed. I made the following
page ( http://perla.princeton.edu/counselors/organization.php ) solely
for the purpose of showing a bug. It is not production code, it is a
test, made for testing, so style really doesn't matter.
This page illustrates that, for some reason, clicking on the submit
button has a different effect on the results page than running the
javascript submit() function. Try it out for yourself. Click the
submit button on top. It returns results 1-15 of the organizations at
nacacnet.org. Now, click the second button, which runs the javascript
submit() function, it returns results 76-90. This is what _should_ be
returned. Unfortunately, I cannot understand why clicking the submit
button should be any different, since the same fields are posted to the
server (use Firefox's page info while the results are loading to see
that this is true). Are the headers different for some reason?
I do not need a solution or an alternative, as this is not a real page
for production use, nor is it an example page for production use. I
have an intellectual curiosity to understand how javascript works at
the most basic level to understand why different results would come
between these two methods of submitting.