Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138163

Want to send profile id while sending massage ($_GET) vai ajax post method

$
0
0
            original id session id...(sender id )
            & i want to send profile id.... (receiver id ) store is $_GET['profileid'] but can
        I need to pass the id in ajax, i have something liI need to pass the id in ajax, i have something like:

ke:

I need to pass the id in ajax, i have something like:

I need to pass the id in ajax, i have something like:

I need to pass the id in ajax, i have something like:

I need to pass the id in ajax, i have something like:

I need to pass the id in ajax, i have something like:

I need to pass the id in ajax, i have something like:

                 the froms that are listed below

        <input type="submit" name="SendMsg">
            Ajax....... part to send data  everything is doing well but can sent the profile id that i have sotred in $_GET variables 


            function sendmsg(){
                    // body...
                    $.ajax({
                        type:'POST',
                        url:'insert.php', 
                        data: $('#frmBox').serialize(),
                        success:function(response){
                            $('#success').fadeOut(1000).html(response);}
                    });var form = document.getElementById('frmBox').reset();
                    return false;}
         solved  problem to it will be big help 
    session id...(sender id )
            & i want to send profile id.... (receiver id ) store is $_GET['profileid']

How can i pass the id in ajax url


Viewing all articles
Browse latest Browse all 138163

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>