Posts from JavaScript

How to add line breaks in JavaScript alert

By Saruque Ahamed Mollick

In this JavaScript tutorial, we gonna learn how to add line breaks in JavaScript alert. The alert method is very much useful to us. But sometimes we need to have multiple lines or .... Read More

How to convert binary to decimal in JavaScript easily

By Saruque Ahamed Mollick

Converting a number from binary to decimal is a mathematical approach. We can find several mathematical algorithms to find out the decimal value of a binary number and vice versa. .... Read More

Why use javascript:void(0) in hyperlinks?

By Faruque Ahamed Mollick

We often may have to use javascript:void(0) in our hyperlink. So in this post, I am going to tell you why we use javascript:void(0) the href attribute of our anchor tag or hyperl.... Read More

How to run multiple JavaScript functions onclick

By Saruque Ahamed Mollick

onclick() event is very much useful to us as we can call any function on click event. But you are here to learn how to run multiple functions in JavaScript. So Here I am gonna show.... Read More

How to Insert JavaScript in HTML href

By Saruque Ahamed Mollick

In this tutorial, I will show you how easily you can insert JavaScript in href. I know the situations when you need to insert JavaScript in href=” “. Sometimes you need.... Read More

Happy Durga Puja Wishing Web Script with JavaScript and PHP

By Saruque Ahamed Mollick

In this post, I am going to share you a free web script made with PHP JavaScript CSS and HTML. With this free script, you can create a webpage to wish your visitors. You can also u.... Read More

Get user’s Latitude and Longitude in JavaScript – HTML5 Geolocation

By Faruque Ahamed Mollick

In this post, I am going to tell you how to get the latitude and longitude of a user in JavaScript with HTML5 Geolocation. JavaScript already has navigator geolocation property in .... Read More

Display div element content in a new popup window – JavaScript

By Faruque Ahamed Mollick

In this post, I am going to show you how to display the content of a div element in a new popup window in JavaScript. Before we going to see how to open and show our div element co.... Read More