Java script code.
    $(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);
                        });
        });
    });

php code

<?php

echo "Test Keyword: ".$_POST['keyword'];

?>

what could i be doing wrong??


On Oct 19, 4:12 pm, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > I am trying to use theajaxfunctions of JQuery but itsnotworking
> > all the normal functions of jQuery areworkingas expected.What could
> > i be doing wrong.
> > Thanks!!
>
> There's no way to tell what you're doing wrong if you don't show us
> what you're doing.  Please post an example or a link.  Thanks.

Reply via email to