The name 'ui' does not exist in the current context
@sliderName=my Array
$(function () {
$("#@sliderName").slider({
range: true,
min: 1,
max: 10,
values: [@minValue, @maxValue],
slide: function (event, ui) {
var minnewValue=ui.values[0];
var k=@sliderName[ui.values[0]];
$("#@sliderNamePrice").val(k + " - " +@sliderName[ui.values[0]]);
}
});
});
I try many thing but evry time thows an error like The name 'ui' does not exist in the current context