Javascript Function Object
When a Function object is created by using the Function constructor, it is evaluated each time. var twoNumAverage = new Function(“x”, “y”, “return (x + y)/2″) document.write(twoNumAverage(3,7)) Like Unlike
Read MorejQuery – Selectors Examples
Selector Description Name Selects all elements which match with the given element Name. #ID Selects a single element which matches with the given ID .Class Selects all elements which match with the given Class. Universal (*) Selects all elements available in a DOM. Multiple Elements E, F, G Selects the combined results of all the specified selectors E, F orG. [...]
Read MoreJquery Selectors
$(“#myID”).attr(“custom”) : This would return value of attribute custom for the first element matching with ID myID. $(“img”).attr(“alt”, “Sample Image”): This sets the alt attribute of all the images to a new value “Sample Image”. $(“input”).attr({ value: “”, title: “Please enter a value” }); : Sets the value of all <input> elements to the empty string, as well as sets the title [...]
Read MoreJquery Selectors-jquery-selectors-examples
$(‘*’): This selector selects all elements in the document. $(“p > *”): This selector selects all elements that are children of a paragraph element. $(“#specialID”): This selector function gets the element with id=”specialID”. $(“.specialClass”): This selector gets all the elements that have the class of specialClass. $(“li:not(.myclass)”): Selects all elements matched by <li> that do not have. $(“a#specialID.specialClass”): This selector matches links [...]
Read MoreOpenERP Server Administration
To manage OpenERP on server you may need some extra-ordinary scripts. Here a branch is available, bzr branch lp:openerp-ccorp-scripts After getting this you will get several scripts file to manage OpenERP. This one is excellent script, If you want to be SAAS Owner the you must need this kind of scripts…. https://code.launchpad.net/openerp-ccorp-scripts [...]
Read MoreOpenERP Periodical Inventory term
You are usually legally required to do a stock check of all your products at least once a year. As well as doing a complete annual stock check, OpenERP also supports the method of periodical inventory. That means you can check the stock levels of a proportion of your products every so often. This system [...]
Read MoreRaphael JS-javascript svg scripts
Raphael JS can be used to create SVG graphics on your website. It’s an amazing JavaScript plugin that is well worth learning if you plan to draw graphs or grids, or anything really. Like Unlike
Read More