Michel,
There's no way you can do that.
Remember that you're working with HTML, not a programming language.
What you must do is to place the control in a page along with a HTML form, a Submit button and a hidden HTML text box.
Add script that read the property when the user click the submit button and pass the value to the hidden textbox. The Submit button will then send the info with the Post or Get method.