I'm having problems in passing values to the function using jquery when I select the two dates as below:
This takes the values that are in the text as shown, but I would take the values and pass to the function below
var dtLev = $("#dateLev option:selected").text()
$.getJSON("/Grafic/GetDateByGraf", { selectedRodId: rodId, selectLevId: levId, selectDtLev: dtLev},
If I use .Val()
the null value appears
How can I fix this