I hope you can help me with this.
I need to do the following but I dont know if its possible.
On my view I have a function that receives one parameter. That value already exists in a texbox field but I don't know how to send it to my function.
<% Permissions TV = new Permissions(); %>
<%: Html.TreeViewAsUnorderedList(TV.GetPermissionsItems((int?)document.getElementById('txtPerfil').value ))%>
<%: Html.TextBox("txtPerfil","" , new { disabled = "true", style = "width:20px", id = "txtPerfil" })%>
Regards,