Posts

Showing posts from April, 2016

How to convert HTML table to Excel using javascript and php Code

Step 1 Write the following code <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head>     <title></title>     <script type="text/javascript" src="js/jquery.js"></script>     <script type="text/javascript" src="Scripts/jquery.battatech.excelexport.js"></script> </head> <body>     <div id="dv">         <table id="tblExport" style="border: 1px solid black;">             <thead>                 <tr>                     <th>#</th>                     <th>First Name</th>                     <th>Last Name</th>               ...

How to make countdown Timer using PHP,Ajax

How to Make Count Down Timer Using PHP And Ajax(java script) Step 1 Write the below code in test.php. Write Code for using Java script.and Ajax <script> $(document).ready(function(){   setInterval(function() { // alert('done');         $('#mydiv').load( 'timer.php ');     }, 3000); $.ajaxSetup({ cache: false }); }); </script> html>   <head>      <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>      <script type="text/javascript">           $(document).ready(function () {              $('#mydiv').delay(1000).load('timer.php');           });       </script>   </head>   <body>      <div id="mydiv"></div>   <body> </...