| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| readme.txt | 2015-09-30 | 3.1 kB | |
| launch.js | 2015-09-30 | 19.1 kB | |
| Totals: 2 Items | 22.2 kB | 0 |
*******Release Notes for Launchjs************************************************************
Description: Easy to use JavaScript library that makes coding JavaScript less time consuming.
Author: Larry J Lane
API: http://bytewarestudios.com/launchjs/
*********************************************************************************************
09/16/2015 version 0.92:
Updated on function, This release addresses issues related to the on click function not
firing events when using class selectors.
09/27/2015 version 0.92:
Updated on function to allow event delegation for dynamically created element by class name.
09/16/2015 version 0.91:
Added isClass function to make checks for class selectors.
Updated val function: It now allows you to get and set the value of elements by their
class value.
09/13/2015 version 0.9:
Added randomNumber Function:
Returns a random number between two values.
example use:
var randomNum = l().randomNumber(5,10);
console.log(randomNum);
09/13/2015 version 0.7:
Added selectorType function:
The selectorType is a helper function that will return the string "id" if a selector without a . is
passed in as a parameter and it will return the string "class" if a . is used as prefix to the selector
passed in as a parameter.
09/13/2015 version 0.6:
Added delete function:
//removes the element from the document object model
l("id-of-element").delete();
09/12/2015:
updated api site, no more frames.
http://bytewarestudios.com/launchjs
09/10/2015 version 0.5:
This release fixes issues with the get function in internet explorer.
Solution: Added the ability to add a proper content type for the xmlhttp request header. If the contentType
parameter is not set the function will default to a content type of text/html.
09/10/2015 version 0.4:
Added get function:
Retrieves the contents of a file asynchronously:
example:
//code below assumes you have a button control on your page with an id of get-button
l("get-button").on("click",function(e){//begin event
//call the get function passing test.html as the url parameter
l().get("test.html",function(data){
/place the data returned in the element with an id of submit-results
l("submit-results").html(data);
});
09/09/2015 version 0.3:
Added on submit and on dblclick events.
note: Use the event.preventDefault function to prevent navigation when using on submit event
with a form.
09/08/2015 version 0.2:
Added the following function:
getAttr:
Returns the attribute value as a string if an element id is passed in as a parameter and
it will return an array of attributes if a class name is passed in as a parameter proceeded by a
. character.
09/07/2015 version 0.1:
First release including the following functions.
between
click
css
csvToUL
currentPageName
getFunctions
getUrlParameters
hide
hideClass
html
isEven
isOdd
on
outerHTML
pageName
setAttr
show
showClass
val