Fixing an issue with output parameters that are of type IntPtr
[castle.git] / MonoRail / TestSiteBrail / Views / home / javascript2.brail
blob8e091b70a96cad34b8e04fcb301e107fdebacd90
1 <script type='text/javascript'>\r
2         function paginate(index)\r
3         {\r
4                 var url = '${UrlHelper.For({\r
5                         @controller: 'customers',\r
6                         @action: 'list'\r
7                 })}';\r
8                 var params = 'page='+index+'&isAjax=true';\r
9                 new Ajax.Request(url, {\r
10                         method: 'get', \r
11                         evalScripts: true, \r
12                         parameters: params\r
13                         });\r
14         }\r
15 </script>