Submit Form Without Refreshing Page ? Type: post Issue ?
Hi,
Firstly thanks for the supporting team.
My question is regarding Sibmittin form with out page refresh, actually i am getting the result but i would like to send the data by using 'post' as type, but its not working if we use Type:post attribute ?
I am using this example..
http://www.java4s.com/jquery-tutorials/submit-form-without-refreshing-page-in-javajsp-with-jquery/
$.ajax({
url:
"saveIt"
,
data: value,
cache:
false
,
success: function(data) {
$(
"#country"
).val(
''
);
$(
"#message"
).html(data).slideDown(
'slow'
);
}
});
Any suggestions please..
Thank you
Singh