# survey-maker/5.2.3.6/admin/js/survey-maker-wp-load-scripts.js

Survey Maker by AYS, version 5.2.3.6. 2 lines.

- Page: https://pluginprobe.com/plugins/survey-maker/5.2.3.6/code/admin/js/survey-maker-wp-load-scripts.js
- Raw: https://pluginprobe.com/plugins/survey-maker/5.2.3.6/raw/admin/js/survey-maker-wp-load-scripts.js
- Modified: 2026-08-20T05:12:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/survey-maker/5.2.3.6/code/admin/js/survey-maker-wp-load-scripts.js#L10-L20`.

```javascript
!function(e){var c=e(document.body);c.on("click","tbody > tr > .check-column :checkbox",function(c){if("undefined"==c.shiftKey)return!0;if(c.shiftKey){if(!b)return!0;s=e(b).closest("form").find(":checkbox").filter(":visible:enabled"),a=s.index(b),r=s.index(this),l=e(this).prop("checked"),0<a&&0<r&&a!=r&&(a<r?s.slice(a,r):s.slice(r,a)).prop("checked",function(){return!!e(this).closest("tr").is(":visible")&&l})}var i=e(b=this).closest("tbody").find(":checkbox").filter(":visible:enabled").not(":checked");return e(this).closest("table").children("thead, tfoot").find(":checkbox").prop("checked",function(){return 0===i.length}),!0}),c.on("click.wp-toggle-checkboxes","thead .check-column :checkbox, tfoot .check-column :checkbox",function(c){var i=e(this),t=i.closest("table"),n=i.prop("checked"),o=c.shiftKey||i.data("wp-toggle");t.children("tbody").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return!e(this).is(":hidden,:disabled")&&(o?!e(this).prop("checked"):!!n)}),t.children("thead,  tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return!o&&!!n})})}(jQuery);

```
