What is jQuery noConflict?

jQuery uses the dollar sign ($) as a shortcut or alias for jQuery. Thus, if you use another JavaScript library that also uses the $ sign as a shortcut, along with the jQuery library on the same page, conflicts could occur. Fortunately, jQuery provides a s

Read More

What are the technologies used by ajax?

Ajax stands for Asynchronous JavaScript and XML. And I'll tell you what are the technologies used by ajax. The word "asynchronous" means that the user need not wait until the server replies.

Read More

How To Create a Snackbar / Toast Bootstrap

Hi, Sometimes we need to show a piece of information to the user as a popup, but I can't use the Bootstrap modal for that. So that time we need to create a bootstrap Snackbar, or we can say that a Toast.

Read More

How To Call Native Java Methods From Webview Javascript

When any developer developing an Android app based on Webview, that time developer faces a number of problems. So, this post is based on one of that issue, which is - How to call native Java methods from Webview Javascript.

Read More

Getting the screen density programmatically in android

Getting the screen density programmatically in android

Read More

How do I hide an element when printing a web page

Sometime we need to show all content on the web page but hide some content for the print. So, you can use this trick for that.

Read More

How to find prefix and suffix of the word in javascript

First of all, you have to know that how to get the currently selected text on the page by using the JavaScript. So, Javascript provided a method for retrieving the current selection of the page by using window.getSelection().

Read More

How do you Encrypt and Decrypt a PHP String

Mcrypt is a replacement for the popular Unix crypt command. crypt was a file encryption tool that used an algorithm very close to the World War II Enigma cipher. Mcrypt provides the same functionality but uses several modern algorithms such as AES.

Read More

How to call a method after a delay with handler

Hi, sometimes we need to execute my method or we can say my function after a time delay. In that situation what can I do? So the answer is - Use Handler() for that. It's so simple, you can create an Object of Handler() method or you can use directly. Let'

Read More