Passer en langue franšaise Switch to english

Izzyway

Description

izzyjs is a light javascript framework for DOM and form manipulation.

Documentation

The documentation was generated with jsDoc.

Releases

Compatibility tests

Green line means the test is successful (tests page).

Test 1: Create a DIV Element

document.new('div');

Test 2: Create a DIV Element with attributes and content

document.new('div', 'content').set({'class':'myClass', 'id':'myDiv'});

Test 3: Get an Element by id

document.get(id);
$get(id);

Test 4: Append an Element

document.append(id, Element);
$append(id, Element);

Test 5: Insert an Element

document.insert(id, Element);
$insert(id, Element);

Test 6: Unset an attribute

Element.unset('name');

Test 7: Has an attribute

Element.has('name');

Test 8: Add, remove and test className

Element.addClass('myClass');
Element.hasClass('myClass');
Element.removeClass('myClass');

Test 9: Set and Get the value

Element.setValue(value);
Element.getValue();

Test 10: Is a JSONObject, JSONArray, Date or Function

$isJSONObject(Object);
$isJSONArray(Object);
$isDate(Object);
$isFunction(Object);

Test 11: Base64

String.base64();
String.unbase64();

Test 12: Encode

String.encode();
String.decode();

Test 13: getParent

Element.getParent();