When i click on Go button nothing happens.
For example in the input field i typed 2. When i press Go i should go to page localhost/facts/pagination2.php?pagenum=2 but it doesnt happen like that. when i press go nothing happens.
I looked at the output source code. it looks like that :
why not just use php?? Submit the form to a processing page and siply redirect to the page number, it will be accessible as well. No need for javascript in the situation.