Well I guess you start up the server and start each thread you want to control, you then save these threads in lets say a map so that you have a reference to them.
Whenever you then make an AJAX...
Type: Posts; User: Json
Well I guess you start up the server and start each thread you want to control, you then save these threads in lets say a map so that you have a reference to them.
Whenever you then make an AJAX...
If you want this seamless so that the brower doesnt refresh the page when you click the button you will have to create an AJAX call.
Using jQuery for instance this makes it all really easy. See...