Posted November 26, 2012 by Bandish Patel in Tips

Post Data Using Jquery

Post data using Jquery


<a class="upload" href="some.asp">Link</a>
<input type="hidden" name="parameter" value="value-to-send" />


$(function() {
    $('.upload').click( function() {
         $.post( $(this).attr('href'),
                 function(data) { do something with returned data } );
         return false;  // cancel link default action

My name is , but people call me .

Here is my homepage: .

I live in

And this is a picture of me:

I work as an in the role of a at

Bandish Patel