Posts by Faruque Ahamed Mollick

Author Biographical Info: Not available

Generate PDF from HTML template in PHP using Dompdf

By Faruque Ahamed Mollick

Here in this post, we are going to see how to generate the PDF from an HTML template. In brief, Dompdf is the HTML to PDF converter that is written in PHP and can be used by develo.... Read More

Copy text to clipboard on click using JavaScript

By Faruque Ahamed Mollick

In this post, I am going to tell you how to copy text to the clipboard by clicking a button so that the text can use the text anywhere just by pasting it there. Most probably, you .... Read More

Check whether a checkbox is checked in jQuery

By Faruque Ahamed Mollick

Today in this post we are going to see how to detect whether an HTML input checkbox is checked or not. We are going to see it with the simple example of code. Below is the HTML cod.... Read More

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

Make a div element draggable using jQuery UI

By Faruque Ahamed Mollick

Today in this tutorial we are going to learn how to make a div element draggable so that we can move it anywhere just by dragging using jQuery UI. Here I am going to show you a sim.... Read More

How to unzip or extract zip files in PHP?

By Faruque Ahamed Mollick

Today in this post, I am going to show you how to extract zip files in a specific directory path in PHP with the example code. PHP already has built-in class ZipArchive. To extrac.... Read More