Hello, I would like to pass the JS variables parameter as a parameter, but it is not working, I would like to know the correct way to do this,
<script>
function check() {
var teste1 = document.getElementById("lala");
var teste2 = document.getElementById("lala2");
@Url.Action("Teste", "Teste", teste1);
}
</script>