
Search In
Hello Readers,
When we apply CSS class to HTML element sometimes we don't know that which CSS applied to HTML element.
So, below we use jquery to get the class name.
Here, we use the Jquery .attr() function which returns the class attribute value.
Bootstrap Form
Bootstrap provides a predefined form which can be customized according to your requirement.You can design any form with little effort and customization.It helps in saving lots of time and prevents developer from confusion.
<form&g
Here we will see example of how we can pass data using closure function.As we've seen how to create a closure, let's see how we can use them.
When we pass a callback function to the PHP usort() function, and usort() calls our callback, the callback
Hello Guys
I am writing blog to develop auto login logic in liferay. Liferay provide auto login functionality, So we can login by screenName, userId and email address parameter's.
We need to create hook to implement AutoLogin interface, so foll
For write error in a file we use error log. In cakephp we can create error by using keyword CakeLog. For example
try {
//code here
} catch(Exception $e) {
CakeLog::write('error1', $e->getMessage());
}
and yo
SetTimeout function is used when you want to execute the code after specific number of milliseconds,
Syntax: -
setTimeout(function() {
$(".thememessage").html('Code Executed after three second');
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
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.
3) You
Hello Readers,
Here is the Example of Simple Zebra Table.
Here is the HTML
<table>
<tr>
<th>Name</th>
<th>Date of Birth</th>
<th>Age</th>
<
Hello Readers,
append() is the jquery method and is used in jquery to Add elements to the end or after the completion of text in jquery of the selected elements.
Syntax :
selector.append( content )
Parameter :
content − this parameter is used
