I have this code:
<input type="submit" onclick="window.location='https://www.example.com/script.php';" value="CLICK HERE" id='dwl_btn_load'>
When I press on CLICK HERE the page start to load and run https://www.example.com/script.php.
The script (https://www.example.com/script.php) automatically downloads me a file and takes about 20 seconds while the page is loading.
I want to make this procces without page load if is posible.
I have only 1 input without tag.
Thank you.