Amit Pandey's post page #22
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.
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 r...
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 Eni...
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 Handl...
Explode string by last occurrence and get first part
Some of the cases we need to split any string or it may be my URL to split. Now I am explaining to you, how to explode the string by the last occurren...
Refresh a fragment list from activity
If you want to call any method of Fragment from your activity then you need to implement INTERFACE. So now I am going to introduce Interface example t...
Arrange list items using drag and drop jquery
Hello, Today I am going to show you one amazing jQuery example for Arrange list items using drag and drop jQuery. Dragonfly JS is a tiny vanilla JavaS...
How to replace whole word with Word Boundaries in Java?
If you want to replace the whole word with the word boundaries in a string. For this, we use "\b" regular expression token which is called a word boun...
How To Reverse An ArrayList In Java
In this post, we will see how to reverse an ArrayList in Java by creating a copy of it. In reverse order without altering the ordering of elements in...



