I have quite an understanding of JS Ajax Curl PHP HTML CSS and Cisco networking and so on show me you html code with the JS, as said the JS is just served by the master once the host then catches it i.e. your computer and then does what ever so in short there is no reason that JS would not work its just how your formatting it to be sent by you C++ code, have you got the browser debugging open what errors you getting ? have you tried just making a default version of this webpage in notepad++ and ran it to confirm it works before converting it to be sent via C++ ?