|
function testa(o)
{
var gid = o.getElementsByTagName("h3")[0].innerText;
//gxs.innerText = gid;
//document.getElementById("closeinfor").style.display='block';
$.ajax({
url : "{php echo IMS_VERSION>=0.6?"../addons":"./source/modules"}/bm_meifa/site.php",
type : "POST",
data : 'title=' + gid, //你要传递的参数
dataType : "json",
async : false, // 同步方式(false),
});
}
------------------------------------
site.php
$title = $_POST['title'];
print_r($_POST);
我打印出来也为空,在线等大神 |
|