anyone use the prototype js framework?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fris
    Too lazy to set a custom title
    • Aug 2002
    • 55679

    #1

    anyone use the prototype js framework?

    Curious how to set an action through the ajax call

    Code:
    function vote(id, rate, img, event) {
        new Ajax.Request(MyAjax.ajaxurl, {
            method: "post",
            parameters: "rate=" + rate + "&id=" + id,
            onSuccess: function(transport) {}
        });
    }
    need something along the lines of jquery way of doing data: {action: my_action},
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.
  • mce
    Confirmed User
    • Jun 2012
    • 3915

    #2
    Bumping this is the least I can do to help a GFY wp uberpimp! Thanks for all the quality WP posts, fris.

    Pay Virtual Assistants Based on RESULTS instead of TIME
    STOP getting FUCKED IN THE ASS by your VA

    Comment

    • fris
      Too lazy to set a custom title
      • Aug 2002
      • 55679

      #3
      Originally posted by mce
      Bumping this is the least I can do to help a GFY wp uberpimp! Thanks for all the quality WP posts, fris.
      thanks figured it out, you need to pass the action in params.
      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

      Comment

      Working...