Learn 3 methods of clearing floats. Know the most modern ways and about the end of clearfix. See all with examples.
While working with arrays, it is commonly necessary to count all its elements. This snippet will discover two helpful functions that will help you do that.
In this short tutorial, you will find the most proper solution to the commonly asked question by programmers: how to delete an element from an array.
Use the CSS3 resize property with its "none" value to disable the resizing function of the textarea element. Learn the ways of only vertically or horizontally resizing, too.
Learn How to Display the Hidden Element on Hovering Over Hyperlink or <a> tag. With this article, you can learn how to show the hidden elements.
The :nth-child() pseudo-class selects only the elements that are nth child elements. Read and see examples of getting a specific number of child elements.
This snippet gives you an opportunity to learn how to get the first element of an array using PHP. You can choose among the provided functions.
In this tutorial, you can find out how to get the height of an element using jQuery. Use offsetHeight and clientHeight properties and different jQuery methods.
This tutorial provides you the method of getting the id of the element fired an event in jQuery. Read about the event.target property and this keyword.
Read this tutorial and learn about several methods of getting the value of the input textbox value without wrapping the input element inside a form element.