小编jas*_*ask的帖子

什么是Netbeans中的'修改名称'?

我正在使用Netbeans开发一个网站,有时会出现一个通知,上面写着"修改名称......"但我不明白'修改名称'的含义是什么或它的作用是什么......

有人可以向我解释一下它的含义吗?

谢谢!

php netbeans

6
推荐指数
1
解决办法
2848
查看次数

如何将jquery var发送到php?

当我尝试使用jquery发送var时,ajax php没有收到它,我不知道为什么.

这是我的脚本:

function showHiddenUserInfoPanel(id){
$(document).ready(function(){
    $('#admin-resume').fadeToggle('slow', 'linear', function(){
        $.ajax({
            async: true,
            type: "POST",
            dataType: "html",
            contentType: "application/x-www-form-urlencoded",
            data: "userid="+id, // Also I tried with : data: {userid: id},
            url: "user-profile.php",
            success: function(){
                $('#info-user').fadeToggle('slow', 'linear');
                alert(id); // I receive the correct id value
            }
        });
    });
});
Run Code Online (Sandbox Code Playgroud)

这是我的user-profile.php:

<div id="activity_stats">
    <h3>Viendo el perfil de <?php echo $_POST["userid"]; ?></h3>
</div>
Run Code Online (Sandbox Code Playgroud)

任何人都可以帮助我吗?

谢谢 :)

php ajax jquery

3
推荐指数
1
解决办法
102
查看次数

标签 统计

php ×2

ajax ×1

jquery ×1

netbeans ×1