Skip to:
Content
Pages
Categories
Search
Top
Bottom

Is there helpers to send messages via ajax?

  • @templaries

    Participant

    Hello

    I need to send private messages clicking a button, is there a way in buddypress code or I need to implement it?

    <script>
      var $ = jQuery;
      $(function() {
        
        $('input[id=mybutton]').click (function ()
        {         
          $.post( "¿¿¿???", function( data ) {
             //Message sent!
          });
        }); 
      });
    </script>
    

    In other hand.

    Is there a way already done in buddypress to show a form with the subject and the content to send a message? Any shortcode or something like this:

    
    <?php
    show_message_form()
    ?>
    

    Thank you very much.

  • The topic ‘Is there helpers to send messages via ajax?’ is closed to new replies.
Skip to toolbar