here is mycode
$('#edit-popout-warpper').load(url,function(){
//the url contain the editnameform
$('#editnameform').submit(function(e){
e.preventDefault();
var $form = $( this ),
term = $form.find( 'input[name="mymoname"]' ).val(),
urll = $form.attr( 'action' );
$.post(urll,{mymoname:term});
})
})
return false;
after i use jquery ajax load method the $.post is not working ,its not sending the post request any idea why?
i finally get it work only i used $.ajax like this
$.ajax({
type:'POST',
url:urll,
data:{mymoname:term}
})
i don't know why. but at lest it worked.so anyone knows why the $,post not working please let me know thanx