{"id":15775076,"url":"https://github.com/katt/jquery.disableinputs","last_synced_at":"2026-03-11T06:31:06.606Z","repository":{"id":58230235,"uuid":"20098224","full_name":"KATT/jquery.disableinputs","owner":"KATT","description":"Tiny jQuery plugin to toggle disabled on all of an element's controls.","archived":false,"fork":false,"pushed_at":"2014-06-04T10:28:49.000Z","size":220,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T11:35:06.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KATT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-23T12:10:56.000Z","updated_at":"2014-06-04T10:28:49.000Z","dependencies_parsed_at":"2022-08-31T09:21:50.312Z","dependency_job_id":null,"html_url":"https://github.com/KATT/jquery.disableinputs","commit_stats":null,"previous_names":["katt/jquery.formsetenabled"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KATT%2Fjquery.disableinputs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KATT%2Fjquery.disableinputs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KATT%2Fjquery.disableinputs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KATT%2Fjquery.disableinputs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KATT","download_url":"https://codeload.github.com/KATT/jquery.disableinputs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246484136,"owners_count":20785015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T16:42:14.097Z","updated_at":"2025-12-12T05:49:29.635Z","avatar_url":"https://github.com/KATT.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jquery.disableInputs\n\n\nSmall jQuery plugin to toggle `disabled` on all of a element's controls (`input`/`textarea`/`select`/`button`).\n\nUseful when processing an AJAX submission on a form.\n\n## Usage example:\n\n```js\n$('.my-ajax-form').on('submit', function(e) {\n  e.preventDefault();\n  var $this = $(this);\n\n  // disable form's inputs after serialising (otherwise you won't get the values)\n  var data = $this.serialize();\n\n  $this.disableInputs(true);\n\n  $.ajax({\n    url: $this.attr('action'),\n    type: 'post',\n    dataType: 'json',\n    data: data,\n    success: function(data) {\n      // do something\n    },\n    complete: function() {\n      // reset the form's inputs to the state they were before\n      $this.disableInputs(false);\n    }\n  });\n});\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatt%2Fjquery.disableinputs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatt%2Fjquery.disableinputs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatt%2Fjquery.disableinputs/lists"}