API/CodeSamples/Javascript/GetPivotGuiData.md
... ...
@@ -8,7 +8,7 @@ The ``GetPivotGuiData`` command is passed through rs.aspx via an [[AjaxRequest|/
8 8
9 9
Here is the AJAX call to use:
10 10
11
-```
11
+```javascript
12 12
AjaxRequest('./rs.aspx', 'wscmd=reportviewerconfig&wsarg0=' + jq$(window).width() + '&wsarg1=' + jq$(window).height(), GotReportViewerConfig, null, 'reportviewerconfig');
13 13
```
14 14