Apologies if this question seems naive, but I am curious if it is feasible to pass the response from a JavaScript confirm box or message box as a value to a Ruby program.
If I were to click on the "yes" button in the confirm box, could this response be stored in a variable and subsequently returned to Ruby?