Controlling motors from html web page : I am working on a project and the ultimate goal is to control some simple motors through a web page. I have created the web page using HTML and I am wondering what would be the best way to go about doing this is? I am wanting to send a command after the button is clicked to the server where a C# script running the motors will pick up the message and then control the motors accordingly. Would the best way to do this be through JSON and/or Jquery? 

So far I have a .load function written in jquery that is sending a simple message to ther server then that function is being called upon button press by the html document. My main question is if this is the most best route to go when communicating between HTML, a server, and C#. Thank you.