Category: JavaScript
How to Convert Hexadecimal number to decimal in JavaScript?
Below is a sample sourcecode snippet demonstrating the conversion of Hexadecimal number to decimal in JavaScript. How to Convert Hexadecimal number to decimal in JavaScript?
How to remove leading zeros from a number in JavaScript?
If you want to remove leading zeros from a number in JavaScript , you can use the parseInt() method. How to remove leading zeros from a number in JavaScript? Here’s an example demonstrating how you can use parseInt() function to delete leading zeros. The output of the above program is 34
How to Refresh the Page using jQuery?
Below is a sample sourecode snippet that demonstrates how to reload the page using jQuery. How to Refresh the Page using jQuery?
Verify if the variable is a non-empty string in JavaScript
If you want to test if a variable that is defined is a non-empty string in JavaScript , you can use the typeof keyword to find if the type is a sring as well as check for the length of the string as shown below. How to verify if the variable is a non-empty string in JavaScript ? This will cause the else part to…
Top 10 JavaScript Drawing Libraries
Are you a Web developer and looking for the drawing libraries in JavaScript ?. In this blog post , we list out some of the popular JavaScript drawing libraries. Top 10 JavaScript Drawing Libraries D3.js Paper.js Raphael Processing.js Fabric.js p5.js Maker.js Snap.svg pixi.js Paths.js Are there any other interesting JavaScript drawing libraries that you use ?. Feel free to share them in the comments section.
How to check if one string contains another substring in JavaScript ?
Below is a sample code snippet that demonstrates how to check if one string contains another specified substring using JavaScript. How to check if one string contains another substring in JavaScript ?
Popular JavaScript IDEs with Intellisense and Debugging Support
Looking for the IDEs that support Intellisense and debugging support for JavaScript? This blog post will list out some of the popular JavaScript IDEs with Intellisense and Debugging Support. Popular JavaScript IDEs with Intellisense and Debugging Support WebStorm Aptana Studio 3 Komodo IDE IntelliJ IDEA NetBeans IDE Visual Studio 2012
How to remove or replace array element in JavaScript ?
To remove or replace an element in an array in JavaScript , you can use the splice method as shown below. How to remove or replace array element in JavaScript ? To remove the array element , you can use the splice method and specify the index of the array to remove the array element. The second parameter determines the number of elements to remove….
How to append an array to another in JavaScript ?
In JavaScript , you may want to append one array to another array(s) to combine their elements resulting in to a single array. How to append an array to another in JavaScript ? You can use the concat method of JavaScript to achieve the same. Below is a sample code snippet demonstrating the usage of the concat method of array in JavaScript to combine multiple…
Popular JavaScript Development Frameworks
There are plenty of JavaScript frameworks that can be used by the Web Developers . Below are some of the popular and well known JavaScript Development frameworks. Popular JavaScript Development Frameworks Emberjs http://emberjs.com/ Sencha http://www.sencha.com/products/extjs SpineJS http://spinejs.com/ Knockout JS http://knockoutjs.com/ Angular JS https://angularjs.org/ Cappuccino Project http://www.cappuccino-project.org/ Batman.js http://batmanjs.org/ Stapes.js http://hay.github.io/stapes/ ToDoMVC http://todomvc.com/ Backbone.js http://backbonejs.org/ Javascript MVC http://javascriptmvc.com/ Rappidjs http://www.rappidjs.com/#/home Mochikit http://mochi.github.io/mochikit/ Serenade.js http://serenadejs.org/
Popular LINQ for JavaScript libraries
Below are some of the popular LINQ for JavaScript libraries that allows the developers to query JavaScript objects using LINQ like syntax. Popular LINQ for JavaScript libraries jLinq linq.js – LINQ for JavaScript LINQ to JavaScript Reactive Extensions for Javascript $linq