passing variables with JQuery

Posted by vick on Stack Overflow See other posts from Stack Overflow or by vick
Published on 2010-04-13T23:53:32Z Indexed on 2010/04/14 0:02 UTC
Read the original article Hit count: 164

Filed under:
|
|
<script type="text/javascript" charset="utf-8"> 

 $(document).ready(function() {
    $("a").click(function() {
        $("#myDiv").load( "job_board_data.php", { pageNo: $(this).text()} );
        return false;
    });
});
</script>
<a href="job_board_data.php?p=1">1</a>

How can I pass variables to my job_board_data.php script???? I want to pass variables such as page, sort by .. anyone?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript