
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
QueryX is a lightweight JavaScript library that provides a jQuery-like interface for DOM manipulation and traversal. It allows you to select elements, add/remove classes, manipulate attributes, traverse the DOM, and more, similar to jQuery but in a simpler and more lightweight manner.
To get started with QueryX, include the queryX.js
file in your project:
<script src="path/to/queryX.js"></script>
Alternatively, you can use a CDN link:
<script src="https://cdn.jsdelivr.net/npm/queryx"></script>
// Example Usage
queryX('button').on('click', function() {
queryX(this).toggleClass('active');
});
queryX('.container').append('<div class="new-element">New Element</div>');
var formData = queryX('form').serialize();
console.log(formData);
queryX('.parent').children().addClass('child-element');
queryX('.element').closest('.container').css('background-color', 'red');
For detailed documentation and examples, please refer to the Documentation section (link to your documentation).
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A lightweight JavaScript library for DOM manipulation and traversal.
We found that queryxjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.