Web page button press to run exe, without page reload

Hi All,

I am trying to write a little web interface for controlling my BBB leds.

I would really like the button press to call ‘leds.exe 0 0’ with parameters, without the web page refreshing.
is there some way I can use javascript to do this? I have used the php exec() function before but all examples require the page to reload.

Thanks in advance.