<button id="myButton">Click Me</button> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function(){ $('#myButton').click(function(){ $.ajax({ url: "C:/Users/Downloads/Desktop/HelloWorld.bat", type: "POST", success: function(response){ // Handle the response from the server console.log(response); } }); }); }); </script>
<a href="C:/Users/Downloads/Desktop/HelloWorld.bat"> open batch file_name </a>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)