Sunday, January 27, 2013

how get no of between two dates


       $from = strtotime($from);
  $to = strtotime($to);
$r = $to-$from;
floor($r/86400);

Bind Some Event to Element and trigger that function when click the element

Scenario: Suppose if we used same click event function in various web pages. if you want do some logic some page button for that need to re...