>     $(document).ready(function(){
>         alert("Document is Ready");
>         $("form#FormID").submit(function(){
>                 alert("Form is submitted");
>                 
> $.post("process.php",{keyword:$("#keyword").val()},function(data)
> {
>                         alert("Data Loaded: " + data);
>                         });
>         });
>     });


You need to return false from your submit handler:

$("form#FormID").submit(function(){
    // post data to server

    return false; // <-- important
});

Reply via email to