10 examples of 'jquery oncheck' in JavaScript

Every line of 'jquery oncheck' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
this disclaimer
129check(callback) {
130 this.preValue = this.input.checked = true;
131 this.change(false, null, callback);
132 if (this.onChange) {
133 this.onChange();
134 }
135}
Important

Use secure code every time

Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code

301function check(){
302 for(var i = 0; i < checkboxes.length; i++){
303 var status = checkboxes[i].checked
304 if (status === false){
305 $("#gotokyc-btn")[0].setAttribute("disabled", true)
306 return;
307 }
308 if (i == (checkboxes.length-1)){
309 $("#gotokyc-btn")[0].removeAttribute("disabled")
310 }
311 }
312}
1111function isCheckable (elem) {
1112 return 'checked' in elem && elem.type === 'radio' || elem.type === 'checkbox';
1113}
3function check_checkbox (checkbox) {
4 if (checkbox.prop('checked')) {
5 checkbox.parents('label.checkbox').addClass('checkbox_state_cheked');
6 } else {
7 checkbox.parents('label.checkbox').removeClass('checkbox_state_cheked');
8 }
9}
7function check(_, e) { return e.target.checked; }
200function onCheck(e, treeId, treeNode) {
201 checkedNodeIds = treeNode.id;
202 checkedNodeName = treeNode.name;
203}
194function internalCheck(oObject) {
195 if (oObject.__publicControl) {
196 return true;
197 }
198 if (!oObject) {
199 return false;
200 }
201 var oParent = oObject.getParent();
202 if (!oParent) {
203 return false;
204 }
205 if (oParent.__publicControl) {
206 var aList = that.findAllPublicElements(oParent, oCore).filter(function(oSingleControl) {
207 return oSingleControl.getId() === oControl.getId();
208 });
209 return aList.length > 0;
210 }
211 return internalCheck(oParent);
212}
3function check(p, iframe) {
4 var current = p.firstElementChild;
5 var ref_sizes = current.getAttribute('sizes');
6 var expect = current.currentSrc;
7 if (expect) {
8 expect = expect.split('?')[0];
9 }
10 while (current = current.nextElementSibling) {
11 test(function() {
12 if (expect === '' || expect === null || expect === undefined) {
13 assert_unreached('ref currentSrc was ' + format_value(expect));
14 }
15 var got = current.currentSrc;
16 assert_greater_than(got.indexOf('?'), -1, 'expected a "?" in currentSrc');
17 got = got.split('?')[0];
18 assert_equals(got, expect);
19 }, current.outerHTML + ' ref sizes=' + format_value(ref_sizes) + ' (' + iframe.getAttribute('data-desc') + ')');
20 }
21}
63export function check(eventName: string): boolean {
64 const
65 tagnames = { "select": "input", "change": "input", "submit": "form", "reset": "form", "error": "img", "load": "img", "abort": "img" },
66 element = doc.createElement(tagnames[eventName] || "div");
67
68 eventName = "on" + eventName;
69 let isSupported = (eventName in element);
70
71 if (!isSupported) {
72 element.setAttribute(eventName, "return;");
73 isSupported = typeof element[eventName] === "function";
74 }
75
76 return isSupported;
77}
1function check() {
2 var sourceUrl = document.getElementById('sourceUrl').value;
3 var sourceUserName = document.getElementById('sourceUserName').value;
4 var sourcePassword = document.getElementById('sourcePassword').value;
5 var sourceEncode = document.getElementById('sourceEncode').value;
6 var sourceType = document.getElementById('sourceType').value;
7 Hello.check(sourceUrl, sourceUserName, sourcePassword, sourceEncode, sourceType, callback);
8}

Related snippets