Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Passing multiple parameters to AJAX call

$
0
0

I'm trying to pass two parameters to the url in my Ajax call and it's not working. What is wrong with my format?  Thank you

function getData() 
            {
            return $.ajax({
                    url: "/Books/GetBookList/" + "<%=ca.ID%>" + "&<%=ca.Title%>",
                    type: "GET", 
                    dataType: "json",
                    success: ShowBooks,
                    error: function (jqXHR, textStatus, errorThrown) { 
                    }
                 });
                }



Viewing all articles
Browse latest Browse all 5678

Trending Articles



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