阅读背景:

在转到该页面时,通过jquery ajax和.data()方法将数据发送到页面

来源:互联网 
<script>
function user_pro(useron){
$.post("userprofile.php", { useron:useron } );
document.location.href="/go.html?url=userprofile.php";
}
$(document).on('click','#userprofile',function(){
    var useron=$(this).data('id4');
    user_pro(useron);
});
</script>
<script>
function user_pro(useron){
$.post("use



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: