$('#mybutton').click(function(){
var form = $(this).parents('form:first');
var values = form.serialize();
//do some ajax calls
})
Now I want to do something like this
$("#myForm :input[value]").serialize() on the parent form
but I cant find a way to do this.I am guessing I have to use .find()