
Search In
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 search a
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 could be stri
Hello Readers,
Usually, we use the jQuery in our web project as per the requirement. We start the jQuery syntax as $(document).ready() OR $(window).load() function.
Here I will describe the difference between $(document).ready() and $(window).lo
Hello readers, today I will guide you about How to remove parent(or default) JavaScript and css in wordpress child theme.
There are 2 ways to add css and js in your wordpress project.
header.php
functions.php
The below code defines that how to a
If you want to create Status bar Notification you can use my below code. Notification are used to alert users on some events that requires their attention. The NotificationManger is service used to manage Notification. In below code i have also used
Hold the existing variable and override it
grasp and override the existing variables, to do it we use a function in the template.php file
For example
<?php
function themename_preprocess(&$vars){
$var['title'] = 'your text here';
This method is used to return the first element of the selected elements.
Example :
HTML Code :
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div style="border: 1px solid black;">
<p>This is the first pa
In this tutorial we are going to disable the Notifications and still receive the messages. When new notification is posted or removed in status bar, NotificationListener Service is called by the Android OS. NotificationListenerService has methods onC
This method is used to return the last element of the selected elements.This filter help users to filtering the selected elements.
Example :
HTML Code :
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div style="bord
This method is used to remove the selected elements( i.e all text and child nodes as well ). If we want to reinsert that removed elements , we can do that easily because it keeps a copy of the removed elements.
Syntax :
$(selector).detach()
HTML
