Reputation: 820
There's a place into my screen that I populate a label with a specific string value after some interaction with my user during the runtime. I use javascript for that.
Is there anyway to get the value of this lavel with my controller after its POST
method is activated ?
Thanks, guys !
Upvotes: 0
Views: 1521
Reputation: 10753
Put the value in an HTML <input>
element with a name
attribute? Might need to dress down
the input element, since it will look like a textbox.
Mirror the value in a hidden input <input type="hidden" value="yourValue" />
inside the form you're posting.
Upvotes: 3