In this tutorial, I will show you how to copy text to the clipboard on a button click using jQuery from a textbox. It’s very helpful for the users to click a button to copy everything in a textbox, instead of selecting and copying using the Mouse. So today’s tutorial, we will have a textbox…Continue Reading
javascript
How to Calculate Whether an Image Is Landscape or Portrait in PHP & Javascript?

When I was creating an image gallery for a webiste, needed to show whether the image is portrait or landscape. So today’s tutorial, we will have answer for this question.
How to Get Value of Selected Option In JavaScript?
Today’s tutorial we will learn how to get value of selected option in JavaScript. In JavaScript, we use selectedIndex property to get the value of select box value element. The selectedIndex property sets and returns the index of selected value from the drop-down list. We will use onClick to get the value, you can use…Continue Reading
International Telephone Input JavaScript Plugin
International Telephone Input is a JavaScript plugin for entering and validating international telephone numbers.