problem post ajax with data
Hi
I'm trying to do a ajax post with data like this
$.ajax({
type: "POST",
url: url,
data: var_send,
success: function(data){
p_html(data);
}
});
in the var var_send the value is {"mod":"new", "RELATGPEVT_RELATCOD","2"}
and when i do the ajax they do a GET (id o with POST) but never calling the success, they occur when i use the "data" in ajax, when it's empty they work's fine
I try to use the traditional:true and the processData: false nut not work
Can anyone please help me
??
ps : i'm brazillian, sorry for the grammar