Blog

How to change the style of the title attribute inside an anchor tag?

The option is to make a false-tool-tip using CSS properties according to the wish. For doing this, the data-title attribute must be used.

How to copy the content of a div into another div using jquery?

In this post, we will show you how to copy the content of a div into another div using jQuery.

How to change the style of alert box using css?

In this article, we will design the alert box. To design the alert box we need jQuery then by using the only CSS we can do that.

How to replace the content of an element using jquery?

To replace the content of an element using jQuery, use the text() method.

How to change input box borders after filling the box using javascript ?

In this article, we will change the input border after filling the text on the input text field using JavaScript. The onchange event attribute works when the value of the element changes and selects the new value from the list.

How to disable copy content function using jquery?

To disable cut, copy and paste of a content in jQuery, use the jQuery bind() function.

How to clone an element using jquery?

To clone an element using jQuery, use the jQuery.clone() method. The clone() method clones matched DOM Elements and select the clones.

How to check whether a string has no whitespace in php?

To check whether a string has no whitespace, use the preg_match() in PHP.

How to count the number of substring using mb_substr_count() in php?

In PHP, we can use the function mb_substr_count() to count the total number of substrings in a given string.

How to find the position of the first occurrence of a substring in a string in php?

In PHP, the iconv_strpos() function is used to read the first character from a given string. It finds the position of the first occurrence of a character in a string. It is an inbuilt function in PHP.