Posts from JavaScript

Play and pause HTML5 video by pressing space key in JavaScript

By Faruque Ahamed Mollick

A lot of online video players including YouTube have the video play and pause functionality by pressing the space key from the keyboard. We all are aware of this. Now, in this post.... Read More

Forward and backward HTML5 video player with left and right arrow key in JavaScript

By Faruque Ahamed Mollick

You probably notice that you can backward and forward video on YouTube while watching it. You can do it just by pressing left and right arrow keys from your keyboard. In this post,.... Read More

How to Play Audio After Few Seconds or Delay in JavaScript

By Saruque Ahamed Mollick

In this tutorial, I will show you how easily you can play audio after few seconds or some time delay easily using JavaScript. Here we gonna create an HTML file with an audio tag an.... Read More

Get child element using JavaScript children property

By Faruque Ahamed Mollick

In this post, I am going to tell you how to get a child element from its parent using JavaScript. HTML DOM has children property that can return the collection of child elements. .... Read More

How to Play Audio After The Page Loads in HTML With JavaScript

By Saruque Ahamed Mollick

Hello developer, today I am going to show you how to play audio after page load in JavaScript. In many cases, it is seen that we need to play the audio file only after the webpage.... Read More

How To Get Selected Option from HTML Form Dropdown in jQuery

By Saruque Ahamed Mollick

Hi developer, I am happy to see that someone is looking for this tutorial because once I had faced the same problem on my project. The project was on a  Currency Converter PHP Sc.... Read More

How to Get Form Input Field Value In jQuery Easily

By Saruque Ahamed Mollick

Hello developer, Here you gonna learn how to get form input field value in jQuery very easily. I will show you how to fetch the input field value with the help of jQuery and therea.... Read More

Change HTML5 audio player src file in JavaScript

By Faruque Ahamed Mollick

In this post, I am going to show you how can you change HTML5 audio player src file in Javascript. It is quite easy to change the music file of an HTML5 audio player with JavaScrip.... Read More