Is there anyway to send post data to a php script other than having a form? (Not using GET of course).
I want javascript to reload the page after X seconds and post
As requested above, here is how you could dynamically add a hidden form and submit it when you want to refresh the page.
Somewhere in your HTML:
And some Javascript:
function postRefreshPage () {
var theForm, newInput1, newInput2;
// Start by creating a
This is equivalent to submitting this HTML form: