Javascript Library

This project was successfully completed by jassn403 for ¥240 CNY in 2 days.

Get free quotes for a project like this
Employer working
Completed by:
Skills Required
Project Budget
¥80 - ¥240 CNY
Completed In
2 days
Total Bids
Project Description

I need to have a javascript library to select DOM elements. The library should be very very minimal and basic and there are several demands.I dont care about compatiblity with old browsers so only new functionalities should be used. Most important is that the library can be chained jquery style (BUT I DONT WANT A COPY OF JQUERY!!)

Key features I want in the library:

- DOM selection, the DOM elements must be selected with querySelector... (NOT with getelementby...)

- hide method, similar to jquery syntax ""$('p').hide();"

- click event method

- Chaining, jquery style

- working in latest versions of Chrome, Firefox, etc.

Here some code examples of thing i want to have:

$('p'); // gets all paragraph elements in the page

$('p').hide(); // hides all paragraph elements in the page

$('p').click().hide(); // hides the SINGLE paragraph element that has been clicked on


$(this).... // THIS will have the element clicked on


Final note: The library doesnt have to be called with $, it could be any Letter or Character, but I would like to be able to change this is need, so commented code is prefererred..

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online