I have a functional page posting data to a Page WebMethod
[WebMethod()]
public static string sayHello(string pTest, string pText)
{
return pTest + \" - \" + pT
Can't tell for all plugins, but I'm using jQuery Form without any problems. No flash involved, it just creates hidden iframe instead.
Here's a demo.
but how will it then be possible to both post data and upload with only one click
The process is the same as with normal ajax request. You declare a form element, but instead of $('#myform').submit();
do $('#myform').ajaxSubmit()
.