CodeSpeedy header image

CodeSpeedy

A Place Where You Find Solutions In Coding And Programming For Java, PHP, HTML, CSS and JavaScript.

Login Register

How to select element by its attribute using jQuery?

By Faruque Ahamed Mollick

Here we are going to learn how to select HTML element by its attribute using jQuery. Selecting element by its attribute with jQuery is also easy like selecting an element by its id.... Read More

How to get the class name of a clicked element in jQuery?

By Faruque Ahamed Mollick

Today in this post we are going to see how we can get the name of the class of an element when someone clicks on the element. In short, we are going to get the class name of an ele.... Read More

Check if an HTML element has a particular class in jQuery

By Faruque Ahamed Mollick

It may be needed often to check if an HTML element has a particular class or not and depending upon that perform the task. We can do it easily using jQuery. Here we are now going t.... Read More

Clicking an element trigger to another element in jQuery

By Faruque Ahamed Mollick

This tutorial is going to be interesting. In this tutorial, we will click an element, but actually, the click will trigger to another element. So in this tutorial, we will learn ho.... Read More

Validate YouTube video URL format in PHP using parse_url() function

By Faruque Ahamed Mollick

We can check if a URL is a valid YouTube video link or not easily in PHP using the parse_url() function. The parse_url is the inbuilt function of PHP that is supported by PHP 4 and.... Read More

Value To Visual Star Rating in PHP Using Font Awesome Star icons

By Faruque Ahamed Mollick

Today we are going to see a nice PHP trick. Here in this tutorial, we will see how we can create visual star rating depending upon the value from 0 to 5 in PHP and using the font a.... Read More

Change the browser URL on click without loading the page in JavaScript

By Faruque Ahamed Mollick

Here in this post, we are going to see how to change the URL of the browser in JavaScript without loading a new page or reloading the page again on click. Here we are going to crea.... Read More