Advertisement
Kazikodi

Kazikodi

Jun 30th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.84 KB | None | 0 0
  1. <form name="create" action=""  style="padding-top:5px 0" method="post">
  2.           <div id="seatsss" class="login">
  3.                                
  4.           <!-- Load content here-->
  5.              
  6.          </div>
  7. </form>
  8.            
  9. <script type="text/javascript">
  10.                        
  11.      //jquery codes.
  12.                        
  13.       $(document).ready(function(){
  14.       $('#seatsss')
  15.       $('#seatsss').load('busload.php');
  16.       refresh();
  17.       });
  18.                            
  19.       function refresh(){
  20.                                
  21.      setTimeout( function(){
  22.       $('#seatsss').load('busload.php').fadeIn('slow');
  23.       refresh();
  24.       }, 5000);
  25.                                
  26.       }
  27. </script>
  28.  
  29. //ON busload.php I have.
  30. <button type="submit" class="btn btn-block" id="btnID1" name="submit1421">Save</button>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement