Go back

gO library

Simple js library to control the dom elements

Usage examples

gO.ready( function(){
	var divElement = gO.el( 'div' )
		.atr( 'data-title', 'example' )
		.addCls( 'hidden' )
		.val( 'Html example' );

	gO.elCreate( 'input' )
		.atr( 'name', 'example' )
		.val( 'Input example' )
		.show( divElement );
});

Downloads

go.js and go.min.js ( zip ) 11.6 Kb
go.js library ( 8.8 Kb )
go.min.js library ( minified ) - only 5 Kb

Documentation