Create a JSON string in C#
{ "Name" : "22", "Age" : "0", "FullAddress" : "-5", "Interest" : "0" } to create a json string as shown below, here is what you could use. string myJsonString = "{" + "\"Name\": \"" + model.FirstName +...
View ArticlePlay, Pause and Stop an audio in HTML 5 by example
HTML 5′s audio tag has been around for a while now but, I never got a chance to try them. Today finally I got the chance, so here is what I created using jsfiddle. Live Demo HTML <input...
View ArticleAn introduction to accounting.js, a javascript library for number, money and...
accounting.js is a tiny JavaScript library for number, money and currency formatting, with optional excel-style column rendering (to line up symbols and decimals). It’s lightweight, fully localisable...
View ArticleSelect Date Range using Jquery DatePicker.js and DatePick.js
The jQuery UI Datepicker is a highly configurable plugin that adds datepicker functionality to your pages. DatePick.js is a similar plugin is formed using the basis as jQuery UI Datepicker. It is made...
View ArticleExpand Collapse div and toggle images using jquery
Example1 | Example2 In this post I’ll be showing you how to implement expandable and collapsible toggle panel using jQuery. Here in this example when you click on the heading, the content gets...
View ArticleHow to implement next and previous in Jquery UI Tabs
Before we begin with this tutorial, I will quickly jot down the JavaScript files we will be needing to get this working, jquery-1.9.1.js jquery-ui.js bootstrap.css (This is optional, only included to...
View ArticleHow to create a Google Chrome App?
Step 1: Create the manifest Every extension, installable web app, and theme has a JSON-formatted manifest file, named manifest.json, that provides important information. First create your manifest.json...
View ArticleHow to customize Facebook Like Box ?
The Like Box is a special version of the Like Button designed only for Facebook Pages. It allows admins to promote their Pages and embed a simple feed of content from a Page into other sites. Below is...
View ArticleHow to use images when developing Chrome Extensions
Step 1 : You need to mention the images in the permissions "permissions": [ "logo.png" ], Step 2: To get the relative path of the image you can use the following var url =...
View ArticleShow time spent in years, days, minutes and seconds using Moment.js
For the homepage of this blog, I wanted to show a timer which shows the number of years/days/minutes & seconds spent since I started working. This blog post is tutorial on how to do that. Firstly...
View Article
More Pages to Explore .....