Release library 6.0

download compressed download uncompressed
Downloads: 29k times

About the Library

gdrJS is a modern, fast and easy - size 11.3kb only, while a multifunctional library written in JavaScript. It simplifies the work with the HTML document, manipulations, event processing, animations and Ajax requests using an easy-to-use API. Due to its light weight, gdrJS will not be loaded for long if slow or unlimited internet.

Installation:

To install gdrJS on a website, you need to add the following lines between the <head> tags:

<script src="https://gdr.one/products/js/build/gdr.js"></script>

Using

To get the <a> element with the .btn class and replace its contents with "this is a link".

$("btn").text("this is a link");

Expansion

To write your own plugin for gdrJS:

$.fn.myplugin = function(){
	return this;
};