I wanted to pass an array from jQuery to a controller. <script> var xyz= ['Sun','Mon','Tue','Wed','Thu','Fri','Sat']; $(function() { $("body").click(function(event) { << call controller here using .getJSON? >> }); }); </script>
def mycontroller(): # Here, I wanted to receive xyz as an array. Thanks for the help.