Serialise serialize() parameters in AUI script

62 Views Asked by At

In Jquery, we can do something like this.

    submithFormAjax : function (){
    var str = $("#searchform").serialize();
    var urlStr  =   document.getElementById('searchform').action;
        $.ajax({
        type:"post",
        data:str,
        url:urlStr
        ,
          success: function(){
        
         }
        });
        }

What is the equivalent way to do this in AUI script?

Many thanks

0

There are 0 best solutions below