See example:
$.ajax({
type: "POST",
url: "SERVLET.do",
data: "id=1&location=Minsk",
success: function(msg){
//'msg' - is your returned html file
$(document).html(msg); // this function replace your current page
to returned page
}
});
Gk___
2009/10/18 ajith...@gmai
will this refresh the page ?
On Sun, Oct 18, 2009 at 10:33 PM, Evgeny Bobovik wrote:
>
> See example:
> $.ajax({
> type: "POST",
> url: "SERVLET.do",
> data: "id=1&location=Minsk",
> success: function(msg){
> //'msg' - is your returned html file
> $(document).html(msg); // th
2 matches
Mail list logo