{"id":18738205,"url":"https://github.com/enginooby-practice/jquery","last_synced_at":"2026-01-25T12:03:54.669Z","repository":{"id":216465925,"uuid":"283859760","full_name":"enginooby-practice/jquery","owner":"enginooby-practice","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-31T20:04:06.000Z","size":376,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-20T03:12:03.016Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/enginooby-practice.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-07-30T19:24:49.000Z","updated_at":"2020-07-31T20:04:08.000Z","dependencies_parsed_at":"2024-01-10T12:05:54.214Z","dependency_job_id":null,"html_url":"https://github.com/enginooby-practice/jquery","commit_stats":null,"previous_names":["enginooby-practice/jquery"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/enginooby-practice/jquery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enginooby-practice%2Fjquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enginooby-practice%2Fjquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enginooby-practice%2Fjquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enginooby-practice%2Fjquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enginooby-practice","download_url":"https://codeload.github.com/enginooby-practice/jquery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enginooby-practice%2Fjquery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28752671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T10:25:12.305Z","status":"ssl_error","status_checked_at":"2026-01-25T10:25:11.933Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-07T15:28:40.255Z","updated_at":"2026-01-25T12:03:54.646Z","avatar_url":"https://github.com/enginooby-practice.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup\n- Option 1: Embedded jQuery from Google Libraries (recommend for production) \n[[URL](https://developers.google.com/speed/libraries)]\n- Option 2: Download jQuery script to use locally (prefer compressed/minified version)  \n\n# Main\n### Object Manipulation \n- ```$(\"\u003cseletor\u003e\")```: select element(s) of the selector \n- ```$(this)```: select element(s) invoking function \n- Basic manipulation for element \n[[basic-manipulation.html]()]\n  - ```click(\u003cfunction\u003e)``` =  ```onclick```\n  - ```hover(\u003cfunction\u003e)``` = ```onmouseover```\n  - ```html()```: get content\n  - ```html(\"\u003ccontent\u003e\")```: set content\n  - ```attr(\"\u003cattribute\u003e\", \"\u003cvalue\u003e\")```: set value for attribute\n  - ```css(\"\u003cproperty\u003e\", \"\u003cvalue\u003e\")```: set value for style property\n  - ```css(\"\u003cproperty\u003e\")```: get value of the style property\n\n### Animation\n- [Fading]() \n  - ```fadeOut()``` and ```fadeIn()```  \n    - ```fadeOut(\"slow\")```\n    - ```fadeOut(\"\u003ccallback\u003e)```: execute callback function right after fading out\n  - ```toggle()```\n- [Animation]() \n  - ```animate({\u003cproperty1:\"value1\",...}, \u003cduration\u003e)```\n  - Support callback function\n- [AJAX]() \n  - ```$.get(\"\u003curl\u003e\", \u003ccallback\u003e)```: get data from url file the execute function (with parameter is the retrieved data)\n  - ```$.ajax(\"\u003curl\u003e\").done(\u003cfunction1\u003e).fail(\u003cfunction2\u003e)```\n- [Regular expression]()\n  - ```\u003cvariable\u003e.match(\u003cexpression\u003e)```: return content(s)/null\n  - ```\u003cexpression\u003e.test(\u003cvariable\u003e)```: return true/false\n  - ```/\u003ccontent\u003e/```: return first matched content (sensitive)\n  - ```/\u003ccontent\u003e/i```: return first matched content (insensitive)\n  - ```/\u003ccontent\u003e/ig```: return all matched contents (insensitive)\n\n### jQuery UI \n- Setup\n  - ```\u003cscript src=\"jquery-ui\\jquery-ui.js\"\u003e\u003c/script\u003e```\n  - ```\u003cscript src=\"jquery-ui\\external\\jquery\\jquery.js\"\u003e\u003c/script\u003e```\n  - ```\u003clink rel=\"stylesheet\" href=\"jquery-ui\\jquery-ui.css\"\u003e```\n- [API documentation](https://api.jqueryui.com/)\n\n# Notes - Tips\n- AJAX does not work on local files","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenginooby-practice%2Fjquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenginooby-practice%2Fjquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenginooby-practice%2Fjquery/lists"}