Posts from JavaScript

Show or hide input field based on checkbox using jQuery

By Faruque Ahamed Mollick

In many times it is required to show an HTML input field to the user depending upon the checkbox. In most of the cases when the user checks an input checkbox field, a new input fie.... Read More

Close current tab in browser window using JavaScript

By Faruque Ahamed Mollick

Today in this post, we are going to see how to close a current tab in a browser window using JavaScript. Suppose we have a web page that is opened on a tab of a browser window. Now.... Read More

Disable right click, copy, cut on web page using jQuery

Disable right click, copy, cut on web page using jQuery

By Faruque Ahamed Mollick | October 13, 2017

On some website, you may notice that you can’t use right click, copy or cut content from the web page. Actually, on that websites, mouse right click and copy is disabled using JavaScript. Here in this post, at first we are going to see how to disable right click on a web page. After that, we […] Read More

Making a simple JavaScript form validator

By Faruque Ahamed Mollick

In this tutorial, we are going to make a simple JavaScript form validator which will be used to prevent form submission if any one of the form input fields is empty. The HTML Befor.... Read More

Live word counter from HTML textarea in JavaScript

By Faruque Ahamed Mollick

Here in this tutorial, I am going to show you how you can build a simple live word counter that will count the word of the text content inside HTML textarea perfectly. The HTML At.... Read More

Show live preview of HTML textarea with JavaScript

By Faruque Ahamed Mollick

In this tutorial, you are going to see the simple JavaScript code snippets which will show the live preview of an HTML textarea input field. before we are going to do it, let̵.... Read More

How to call jQuery AJAX in every n seconds?

By Faruque Ahamed Mollick

AJAX is awesome. It does not need to refresh the whole page to load something on a web page. previously I have also discussed on AJAX on this post – Process form value in PHP.... Read More

jQuey UI Accordion With Demo Code

By Faruque Ahamed Mollick

jQuery UI is a jQuery based library which can be used as to create user interface interactions, effects and much more easily. You just need to write less code and you will get mor.... Read More

Related Posts