Since mostly a backend guy, I am not sure how can I achieve the following since it requires some interaction with the browser.
So, I have a the following things so far.
A communication protocol where server is in python and client is in javascript code. Ultimately, I want my data to reach to that javascript code.
Now, this data is being captured from browser.
As a practice.. what I am trying to do is.. have two radio buttons on my browser and a submit button
*radio A *radio B * Submit
Now, when the user presses submit, I somehow want to create a query "user submitted: A (or B)" and this query i am able to capture on python script.
I am at lost on how to do this.
My guess is that "submit" invokes a python script. But what if my python server is always on .. how do i parse that response from the click of browser to this python server?