
Search In
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,
jquery fadeIn is the jquery method which is used to fade the hidden element or the jquery matched element.
Syntax :
$(selector).fadeIn(speed,callback);
Parameters :
Speed : this is a optional parameter which specifies the duratio
Sometimes we may be required to get the get last N records of a table in SQL server based on ordering on a specific column . In this post we will create a query to get the result. First let us create a table which we will use in our query.
CREATE T
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 return the element with choosing index number of the selected elements.In this method, indexing is starting with 0 i.e first element have a index number 0.
Example :
HTML Code :
<!DOCTYPE html>
<html>
<head>
If you want to replace html element with some other element, the jquery replaceWith method can be used.
You can replace some specified DOM element with the other html or DOM element. The replaceWith() method is used in this case.
Syntax:
selector.
Hello Readers,
hasClass() is the jquery method which is used to check the any classname of the selected elements. If we find the name of the class of the selected element it return true else return false.
Syntax :
$(selector).hasClass(classname)
To get the table and field information of a table in MySQL using PHP we will follow the steps given below:
Make a connection.
Select a database.
Find the number of fields using the mysql_num_fields().
Then we will print the type, name, length, flag
Hello Readers,
.not() is the jquery method and it is the opposite of filter() method and this method used for return elements that do not match or do not select the certain criteria and those not matched the certain criteria they will be removed. Th
