API/CodeSamples/Javascript/ReportViewerConfig.md
... ...
@@ -9,7 +9,7 @@ The ``reportviewrconfig`` command is passed through rs.aspx via an [[AjaxRequest
9 9
Here is the Ajax call to use:
10 10
11 11
```javascript
12
-AjaxRequest('./rs.aspx', 'wscmd=reportviewerconfig&wsarg0=' + $(window).width() + '&wsarg1=' + $(window).height(), GotReportViewerConfig, null, 'reportviewerconfig');
12
+AjaxRequest('./rs.aspx', 'wscmd=reportviewerconfig&wsarg0=' + jq$(window).width() + '&wsarg1=' + jq$(window).height(), GotReportViewerConfig, null, 'reportviewerconfig');
13 13
```
14 14
15 15
Here is a list of the object keys sent back and their default values