By calling .toggle() or .fadeToggle() with jQuery we can toggle visibility of an element easily.
Category: HTML5, CSS & JavaScript
How to make dimmer (appears darker) effect on HTML page
Learn how to make dimmer effect on HTML page to make user focused on a message that we display it on the page.
How to create and remove an HTML element with JavaScript
To create and remove an HTML element with JavaScript, we can simply call these methods respectively: appendChild() and removeChild() after accessing parent element for that new element.
HTML5 & JavaScript Contact Manager
In this video tutorial I’ll demonstrate how to create contact input to submit contact info into JavaScript contact array and how to delete it.
JavaScript simple and basic localization functionality
You want to provide localization capability to your web app? In this tutorial I’ll show you how to do it. Let’s watch this video tutorial and grab the source code below.
Replacing multiple characters case insensitively in JavaScript
By using replace() function on any string variable, we can replace character(s) with another character(s). But by default it will only replace the first occurrence. What if we want to replace all occurrence? Here I’ll show you how.
How to truncate a text with JavaScript
If we have a long long text and we only want to show our users some part of that text, well we need to truncate that text. In this tutorial I will show you how to do that with JavaScript. And here is the source...
JavaScript Object and JSON – Convertion from one to another
What is JSON and how to convert JavaScript object into JSON and from JSON to Object. In this tutorial, By calling JSON.parse() and JSON.stringify(), I’ll show you how.
Simple JavaScript Input Validation Tutorial
Make your web forms more secure by validating users input, like only allowing alphabets A to Z and numbers only, etc… Watch this tutorial to know how.
JavaScript text search tutorial
How to search text inside a page or multiple html pages in JavaScript? It’s easy, here I will share how to make it done.
HTML5 Canvas Video Tutorial Series
Here in these series of video tutorials I explained how to use HTML5 Canvas to draw graphics. This tutorial is started from basics.
Playing looped image sequences with JavaScript
If you have a sprite image (image sequences that merged into one file) and you want to play it in your website, you can use this script.
Morse in JavaScript
I’ve created simple JavaScript & HTML5 morse application. With this application you can enter a text then convert it into morse codes (dots and dashes) and vice versa.
JavaScript setTimeout() and setInterval() tutorial
If you want to call a function after a specific amount of time, just like using a timer, you can call setTimeout() or setInterval() function.
Creating Custom Encryption and Decryption Engine with JavaScript
In this video tutorial I will show you how to create a simple Encryption and Decryption engine in JavaScript.
Creating custom JavaScript alert
Simple JavaScript alert that you usually call like this alert(“Hai!”); may be little bit boring. So here come an idea to create custom alert that you can style it as you wish.
Pure HTML5 and JavaScript search engine
This idea comes to my head to create a simple search engine without any database and server side script. In this tutorial (well, I didn’t really mean tutorial, I just want to share my script) I tried to use only HTML5 and JavaScript to make...
Easy JavaScript Tutorial: Splitting a string with JavaScript
When we create a variable in JavaScript with string value, in fact this variable contains arrays, each string character inside one array element.
How to display currency exchange quote from Yahoo Finance with JavaScript
In this tutorial I want to show you how to retrieve currency exchange rate quote from Yahoo Finance using JavaScript.
How can we read and write a file using JavaScript
Basically, JavaScript can not read and write a file. But it should be clearer: JavaScript can not read and write a file “on server”. What about on client side? Yes, JavaScript can read and write file on client side.