0

Here is my code:

<script>
    function myFunction(val) {
        var myValue = val;
        location.href = '@Url.Action("ScanningWifi", "Devices" , new { meterData = "meterData" })';

    }
</script>

what I would like to do is pass "myValue" to my action

Paul T. Rykiel
  • 1,177
  • 6
  • 26
  • 48

0 Answers0