I want to send a simple variable from my view like: @data1 = "something" to my controller whitout a form or buttons, I want do it with another events like when "close any dialog window" and send it automatically to some method in my controller.
Thank you for your answer.