
Search In
Amazon EBS(Elastic Block Store) volume offers high availability and durability with capability to automatically replicate in its availability zone. To create an EBS volume follow the following steps :
1) AWS Account >> EC2 Dashboard >> V
To shuffle(randomize) an array in javascript, there is an algorithm called Fisher-Yates devised and Don Knuth popularized algorithm.
Below is the code for using it:-
Arr.prototype.shuffle = function() {
var input = this;
for (var i = input
using the '%' will make the modular opera, Function of % is return the remainder of the two numbers:-
Lets see the example below:-
<script>
var x = 100; //var 1
var y = 30; //var2
var z = x % y; // z will be the remainder
alert(z);
<
Sometimes we need to refresh web page after a particular time interval to refresh the content present on that page.
So we can do this easily by writing the meta tag in the page source code:
<meta http-equiv="refresh" content="60"/>
this will
hi,
i am using html2pdf library for generating pdf with a simple html table showing results from the database, in 2 or more pages. but i get the error;
"The content of a TD tag does not fit on only one page."
Its working if the table fits on one
Hi,
I am using html2pdf library for generating pdf and have a php/mysql with a simple html table showing results from the database, in 2 or more pages. but i get the error;
"The content of a TD tag does not fit on only one page."
Its working if the
Update quantity of product programmatically in magento
//----------update Quantity---------
$prod= Mage::getModel('cataloginventory/stock_item')->loadByProduct($productid);
$prod= $prod->getId();
$prod->setData('manage_stock', 1);
$prod->
Document.ready VS body.onload function
1 - Document.ready function is called as soon as HTML DOM is loaded, where Body.onload function is called when everything gets loaded on the page that includes HTML DOM, images and all associated resources of
Below is the code for autocomplete using Jquery .
> <head> <meta charset="utf-8">
> <title>Autocomplete using
> jQuery</title> <link rel="stylesheet"
Contains style classes for AUTOCOMPLETE
> href="http://c
Below are the state of any bug by which bug goes through during test life cycle.
1.NEW : Tester Found new bug in the application.
2.Assigned : Tester assign Bug to the developer.
3.Open : Developer is fixing the bug .
4.Fixed : Developer has fixed t
