what is jquery blur method?

Hello Readers, Jquery blur is the jquery method which is used to attach the function to the jquery event and the function get executed to a given element after the event occurs. Event lose the focus when we click on input field and it performs...

Mobile Number Format in Javascript

Hi All, We in very common scenario come across a scenario where we want user to just be able to enter Mobile Number Format. This small code piece will help in validating user to enter only Mobile number format. $(".Mobilenumbers").keypress...

encodeURI() function in JavaScript

encodeURI() function in JavaScript : The encodeURI() function is used to encode the URL parameters. It only encode the special characters except: , / ? : @ & = + $ #. Syntax of encodeURI() function : encodeURI(uri) uri : Requi...

custom side bar with the help of jquery

Hello Readers In this article I will guide you how to create custom side bar with the help of jquery. Here is the HTML <section id="slideBox" class="open"> <nav id="menu"> <ul> ...

Startup Listener or events in Liferay

Hello Guys Liferay provide startup funcationality to deploy theme. portlet and hooks etc. You can utilize the StartupAction. It is merely an Event of liferay, which is get triggered on startup of a plugin in liferay portal. This method wil...

How to change site URL in Wordpress

In the case of server migration like uploading site from local server to live server etc. We need to change the siteurl. Please follow the below instruction to change SITEURL 1) Open PHPMYADMIN of your new server. 2) Open wp_options DB table....

How to override method that generated the link to access the document in openerp

In Openerp first Override the method of function and then write the function in your own module and link the documents at of the classic form view and redirect the documents to the online quote if exists using this get_access function as show in ...

How to remove item from RecyclerView DataBase Sqlite helper class(RecyclerView)

Here I have created a method in DataBase helper(sqlite) to remove Items from RecyclerView. In the example code first i have created deleteCallDetail method and after then In Adpter class I have used ClickListener, so that when we click on cross(I...

'return false' vs 'e.preventDefault()' In jQuery

When we use jQuery event handler, adding return false works same as adding both e.preventDefault and e.stopPropagation on the jQuery.Event object. e.preventDefault() will stop the event to occur and return false also prevents that event from p...

Jquery callback function

Hello Readers, In jQuery, It is a function which is passed as an argument to another function and it is executed when/after it's parent function has been completed. Callbacks are some special jQuery function because it patiently wa...

Measurement Units supported in CSS

CSS supports the following Measurement Units % :- This is % symbol used when we want to give a measurement as a percentage. e.g:-div{width:100%;} cm :-An abbreviation of centrimeters is cm and it is used when we want to give a mea...

Initial Setup & AvaTax Configuration in Odoo-9

If you want Initial Setup & AvaTax Configuration in Odoo-9 follow the below steps-> Step-1 Install Ava Tax Modules Step-2 Setup > Installed Modules > Search for AvaTax Click Install button Step-3 Accounting > Configuratio...

How to override the function and confirm the sale order when transaction is done in openerp

To override the function first install the sale module and override the class sale.order and set draft and use feedback function as show in given below code def feedback(self, cr, uid, data, acquirer_name, context=None): tx = None ...

Services in Xamarin

Hi All, In this blog we will discuss about another one of the most important part of the Xamarin, and that is Service. Service in Xamrin.Android is actually very smiler to concept of service in windows and by that i mean a service is really...

Number() function in JavaScript

JavaScript Number() function : The Number function is used to cast the other objects to the number. Number() is a global function in JavaScript. Syntax of the Number() funciton : Number(object) object: It is required parameter. It ...

toLowerCase() method in JavaScript

JavaScript String toLowerCase() method : The toLowerCase() method is used to convert the letters to the lower case. It doesn't change the original string. It returns the new string in lower case. Syntax of toLowerCase() method : string.toLo...

Finding max and min value in an array using javascript

To find the maximum and minimum in an array we can use Math.max and Math.min function that returns the largest and smallest of zero or more numbers. Syntax : - Math.max([value1[, value2[, ...]]]) Using apply,you can choose your own context...

Web Storage in HTML5

There are two storage session storage and local storage in the new web storage API in html5. HTML local storage contains two objects for storing data on the browser: window.localStorage - stores data with no expiration date window.session...

Use of Drawable folder in Android Application

Whenever we create an android app we have many folders in out solution which are used for building application in android. Drawable folder in android app is mainly used to change or set the background image of an android application .In t...

Route Config File in MVC

In MVC project whenever we run the application we have default form to be run. To setting up or changing up the startup view in MVC project we have entry in the Route.config file for the default view associated with the controller For Ex: ...

Sessions in Javascript

Hi All, SessionStorage is something we can use to store values in session in Javascript. Below I will demonstrate how we can use it in our project. To set Session Value: var valueKey = "Value"; function setSession(value) { ...

What is difference between sorting string array and sorting numerical array in jQuery?

Hello Readers, sorting string array : sort method in jquery is used to sort array elements in alphabetically order this type of sorting is called as sorting through string array. For Example : $(document).ready(function(){ var list =...

JSON

Javascript Object Notation JSON is a way to transfer data or information from one page to another page. JSON stands for JavaScript Object Notation JSON is a lightweight data transfer format JSON is language indepe...

Intent - Xamarin

Hello all, I this blog we will discuss about another very important part of the building blocks of Xamarin.Android, that is Intent class. The easiest way to understand the Intent is really an messaging object that you are to create and pass...

Binary Search in DSA(Data Structure and Algorithms)

Binary search is simple and fast search algorithm which works on the principle of divide and conquer. It will work properly when the data collected is in sorted form. It is having run-time complexity of (log n). This searching algorithm ...

Image Upload using Dropzone

Hi All, This Blog will help you to use dropzone js and css to upload files in your project. You can get dropzone package from NUGET. Once Installed get the reference of it in your project, Below example will show it used in MVC Project. Yo...

Bundle Class in Xamarin.Android

Hello All, In this we will discuss about one of the most important part of the building blocks of Xamarin.Android, and that is Bundle class. A Bundle class. in nothing but a mapping from values of String types to various other types that c...

JavaScript encodeURIComponent() Function

The URI component encoding is yield by the function called encodeURIComponent(). This function encodes special characters like this: , / ? : @ & = + $ #. We can use the decodeURIComponent() function to decode an encoded URI component. Sy...

Inner Join

Using Inner Join: It selects rows from both tables as long as there is a match between the column on which join is applied. Inner join is used to fetch data from more than one table. Syntax: SELECT columnname(s) FROM tablename1 INNER JO...

Tabbing & Accordion in Angular Material

Hi All, We Often need tabbing & Accordion functionality in our project and what if we need it via angular material. Her is a quick guide of doing it simply and accurately. Angular Material CSS references <!-- Angular Materia...

Uninstalling Drupal 7 themes

Hello friends, If you want to uninstall the Drupal 7 theme from your Drupal installation then just follow the below simple steps- 1. Uninstalling a theme is a simple process, it just the reverse of installing a theme. 2. Access the t...

How to read, write and delete cookies in jQuery

In jquery to read, write and delete cookies by using dough cookie plugin. It is easy and powerful characteristics in jquery to use this plugin. Firstly, below is the syntax to create cookie. Create cookie : $.dough("cookie_name", "cookie...

How to install a Drupal 7 theme

There are 2 ways to install drupoal themes one is automatically from the admin interface. Automattic Installation Log in as site administrator go to the theme manager by selecting Appearance and here you will find two option to install ...

Determine Height & Width of browser window in JavaScript

Hi All, We most of the time in web development get stuck with responsive designs, the best way to handle that now a days is to use Bootstrap classes which take cares of your site but that helps you to achieve responsiveness width wise. What...

How to delete duplicate data in Oracle SQL?

Let's create a table with duplicate rows in SQL. create table CustomerDuplicate(customer_id int,customer_name varchar(20)) insert into CustomerDuplicate values(1,'Adam') insert into CustomerDuplicate values (1,'Adam') insert into Customer...

Controlling visiblility of blocks in Drupal 7

Go to Structure -> Blocks Here you can fill the information regarding a block like, Block Title (you can override the default title for the block. Use to display no title, or leave blank to use the default block title. This field suppor...

How to the use file_get_contents() in PHP ?

Welcome to findnerd, today we are going to discuss How the use file_get_contents() in PHP ? Fistly let know what is use of file_get_contents() ? The file_get_contents() basically reads a file into a string. So we can say that file_get_con...

What is procees to print HTML page with tags using PHP ?

Hello all welcome to findnerd, today we are going to discuss How to print HTML page with tags using PHP ? The htmlspecialchars() Function is very useful print HTML page with tags using PHP Firstly let know what does htmlspecialchars() Func...

How to Create Banner Ads on Doubleclick for Publishers

Doubleclick for Publishers an Intro   We use different type of techniques for internet marketing to promote the content and drive traff...

Undo Changes in git

Previous Git Blogs 1. Intialize git repostiory 2. First Commit 3. Two tree architecture and Three tree architecture 4. Best basic practices for writing commit messages 5. Viewing the commit logs 6. Git Basic WorkFlow 7. What is HEA...

Validations in .NET

In .NET we do validations to restrict wrong entries and making valid values to be entered through the forms. Validation on a form or UI page can be done on two sides 1 Server Side Validation 2 Client Side Validation Server Side vali...

How to fetch all data from model in cakephp 2.x

In cakephp it allows a beautiful feature that helps in fetching all the data of the Model and set on the view. The fetching can be done in cakephp with the find method and the set function is used to set the data on the view. The find method ca...

cal_days_in_month() function in PHP

cal_days_in_month() function is a PHP calendar function. This function always return number of days in a specified calendar for month of year . Syntax is : - cal_days_in_month ( $calendar, $month, $year ); parameter are : - ...

How to print a java array using Arrays.toString

An Array is a collection of data of similar data type. We can use Arrays.toString(array_name) to print a java array. Arrays.toString() return a String for a given set of elements specified in brackets([]) and, the elements are separated wi...

Git Diff and add commit in one shot

Previous Git Blogs 1. Intialize git repostiory 2. First Commit 3. Two tree architecture and Three tree architecture 4. Best basic practices for writing commit messages 5. Viewing the commit logs 6. Git Basic WorkFlow 7. What is HEA...

Surface Programming

Surface Programming Microsoft identifies four key concepts in Surface: Surface programming like we have seen in many ways browsing things on a surface. It would be like you are placing an order on the order table using its surface like disp...

How to convert given digits to words using PHP

Hello Reader's! If you have given digits of number and you want it to convert into words for example 76 will be converted as seventy six and 102 will be convert as one hundred two Lets see the function below:- <?php function digitti...

How to get file information using PHP

Hello Reader's If you want to get the full path , name or the directory of a file using php then you can use the code below:- Let's see the example below:- function filePathParts($arg1) { echo $arg1['dirname'], "\n"; echo $arg1['bas...

How to make custom session timeout in php

Hello Reader's!, If you want to make the custom php session which will destroy automatic then you can use the code as below:- session_start(); // ready to go! $now = time(); if (isset($_SESSION['discard_after']) && $now > $_SESS...

How to validate url in php

Hello Reader's! If you have a url given and you want to check weather it is valid or not. For example www.facebook.com is a valid but www.fcebook.com is invalid link. By using you can do this by Curl function, Lets see the example below:- f...
1 172 292