Set a value in Model via javascript
===

I have this code:


    public class AccountModel
    {
        [Required]
        [Display(Name = "Subscription ID")]
        public string SubscriptionId { get; set; }

        [Required]
        [Display(Name = "Storage Name")]
        public string StorageName { get; set; }

        [Required]
        [Display(Name = "Storage Key")]
        public string StorageKey { get; set; }

        [Required]
        [Display(Name = "Hosted Name")]
        public string HostedName { get; set; }
    ....
    }

and...


    $('a.sign-in').live('click', function () {
                alert("BINGO!");

                var id = document.getElementById('id').value;
                var name = document.getElementById('name').value;
                var key = document.getElementById('key').value;
                var select = document.getElementById("listahosted");
                var selected = select.options[select.selectedIndex].text;
    ...
    }


I just want to set a value on my model -> put the "selected" value in the model m.HostedName
How can I do this?

Regards