Archive for the ‘Javascript’ Category

JQGrid inline row edit

jqGrid Inline Cell editing

What is JqGrid?

JqGrid is free, open source plugin for the jQuery Java Script Library for manipulating tabular data. More info

Features of JqGrid:

Click here: This will tell you all about JqGrid features.

Do you want to see some jqGrid demos?

(more…)

Advertisements

list files and folders using nodejs

The below code may help you to list files and folders using nodejs.

var fs = require('fs');
fs.readdir('/', function (err, files) { // '/' denotes the root folder
  if (err) throw err;
(more…)

Jquery to control HTML5 audio elements

html5 javascript Automatically start playing the audio on page load

preload audio

html5 jquery play pause audio

html5 jquery Trigger events at certain times in audio

jquery Mute audio

Before checking the javascript code, let’s have a look at the Html5 audio tag:-

<audio id="bg_audio" controls="controls">
<source src="audio_file.ogg" type="audio/ogg">
<source src="audio_file.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>

How to handle/control the HTML5 audio elements?

(more…)