Hello
Need to do an asynchronous POST instead of using the default form action. Reason for this is that I don't want the user to leave the page they're on, after clicking the submit button.
I need to build the name+value pair(s) string that get 'POSTed' to the poll script. Can someone please tell me what these keywords will be and where do I find them?
TIA
[quote]
Hello
Need to do an asynchronous POST instead of using the default form action. Reason for this is that I don't want the user to leave the page they're on, after clicking the submit button.
[/quote]
OK, I've realised how silly my question is.
I've figured out the answer by changing the original post to a get request. For anyone else wanting to know the answer to this, the data string that you need to feed to the jquery ajax function is 'option_id='+ value + '&page_poll_113562_poll_vote=Vote' - where value is the value selected by the user, and page_poll_113562_poll_vote=Vote is the name and value respectively, of the Vote button.