Welcome to the most "Under" JavaScript Namespace Library ©

"UnderJS" © (UJS "Namespace") it's a new extreme lightweight JavaScript Namespace Library (under 14kb!!, GZipped or Deflated is even under 6kb!!) that making to load the library on your web pages are so extremely fast and even with the complete "UnderJS.UI" JavaScript Namespace Library © you can create and work on your web pages with Drop-Down Menus, Dialogs, Calendars, Tabs, Accordions, Image Gallerys, Context Menus, Tree Menus, completely change the whole source code/stylesheets/javascript functions of any page in a single pass and even much more with not more than 32kb (GZipped Or Deflated is even under 11kb!)

"UnderJS" JavaScript Namespace Library © work with its unique and exclusive "Old School Ajax" that is extremely fast and dealing with client-side code in a very heavy way!, and though I admit that i'm using an extreme dirty and even extreme obscure AJAX, I can assure that it does its the job perfectly without errors and tested for more than 10 years in a lot of websites and/or back-offices that i can make (and maybe/surely, come on, I assure 100% many others developers using similar techniques) and is much, but much more faster than use the popular Microsoft (©) "XMLHTTP client-side" technology and/or dealing with a lot of DOM objects and/or hacks for the application to function properly (this it's not a joke).

Remember, this is nothing new, I am not re-inventing the wheel!.
Even YES! I'm re-inventing a new original and curiosity very old personal library with a lot of new (and olds) useful functions.

So up to here the presentation, and now, the good, the interesting, the concept...

The Original "UnderJS" JavaScript Namespace Library ©

UnderJS JavaScript Namespace Library ©

"UnderJS" JavaScript Namespace Library ©, uses the "_" underscore internaly as global variable (since any other JavaScript Namespace Library are using, up today), buts let's go to the job and see how you can imports and use the "UnderJS" JavaScript Namespace Library © on your document.

Tip
<!--Call the UJS Namespace (base), mandatory before starting to use the library -->

<script type="text/javascript" src="http://ujs.me/under.js"></script>
Tip
<!--Call the UJS Namespace (base) and the UJS.UI Namespace (extended), mandatory before starting to use the library -->

<script type="text/javascript" src="http://ujs.me/under.full.js"></script>

Now with the new "under" variable that you declare on your code, you can access any method or properties from the base library and the "UI" extended library, next see one example of how you can use the library and insert HTML into another element and put a "Watermark" text on some input field.

Tip
<script type="text/javascript">
/*declare new UnderJS variable*/
var _ = UJS;

_.html('ID-OF-ELEMENT','<p>This is a paragraph from "underjs"</p>');
/*or use directly */
UJS.html('ID-OF-ELEMENT','<p>This is a paragraph from "underjs"</p>');

// call the "Watermark" function from UJS.UI
_.UI.Watermark('FORM_FIELD_INPUT_ID','CLASSNAME','WATERMARK_TEXT');

/*or use directly */
UJS.UI.Watermark('FORM_FIELD_INPUT_ID','CLASSNAME','WATERMARK_TEXT');
</script>

See - Learn - How To

UnderJS.Base Library

See and learn all the functions that have the "UnderJS" base library and how to use it

UnderJS.UI Library

See and learn all the functions that have the "UnderJS" extended library (UJS.UI) and how to use it