
Search In
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
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
Hello Readers,
has() is the jquery method which is used to return the new jquery elements or objects that have one or more elements inside of a subset of the matched elements or matches the given selector in jquery.
Syntax :
$(selector).has(elemen
Hello Readers,
slice() is the jquery method which is used to select the subset part of all the part of the element or it is used to select the element from start to end position having indexing zero. Both start and end are integer value and start pa
Hello Reader's if you want to get the details about the vedio from your local server then you can use the code liberary as below:-
$ffmpeg_path = 'ffmpeg'; //or: /usr/bin/ffmpeg - depends on your installation
$vid = 'PATH/TO/VIDEO'; //Replace he
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>selected demo</title>
<style>
div {
color: red;
}
</style>
<script src="https://code.jquery.com/jquery-1.10.2.
The detach() method removes the selected elements, including all text and child nodes. However, the advantage of using this method is that it keeps data and events i.e keeps a copy of the removed elements, which allows them to be reinserted at a
Pop up menu simply show Menu in a pop up window anchored to a View.
It displays the pop up below the anchor view if it finds space otherwise above the anchor view.
If we touch outside of it, then it will dismiss the pop up menu.
First, we need to
Here we are making two simple text box one for the name which is filled by the user and the other is the input box for the time which is automatically called with the help of jQuery-ajax. First of all we make a simple form with two input fields one i
