开发者

Can't make work an ajax post to php

Where it's my problem for me the code look's fine

$.post("../Backend/buscarCliente.php",{tipoBusqueda:"'"+$('#sltTipoBusqueda').val()+"'"},respuest开发者_运维问答a);

the php

<?php  
    //include all DAO files
    header('Content-Type: text/html; charset=utf-8');
    require_once('include_dao.php');
    echo $_POST['tipoBusqueda'];
 ?> 

i'm already debugged with charles debugging proxy and send this message, so i think the path it's good

Can't make work an ajax post to php


Start out really simple, first just do an echo $_POST['tipoBusqueda'] without the includes and see if that works.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜