how can i pass data

Discussion in 'jQuery' started by leejohn, Jul 11, 2012.

  1. #1
    how can i pass data inform in jquerry please give code or API with explaination
     
    leejohn, Jul 11, 2012 IP
  2. smbat.yeranyan

    smbat.yeranyan Greenhorn

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #2
    you can use the $.post method


    $.post("test.php", { name: "John", time: "2pm" },
    function(data) {
    alert
    ("Data Loaded: " + data);
    });
     
    smbat.yeranyan, Jul 11, 2012 IP