This question is locked. New answers and comments are not allowed.
I have a text box in a partial page with id="txtName", whose value I need to pass to another page(through kendo menu's action part, which is in layout page)...
My code in the layout/master page is as-
menu.Add().Text("text").Action("Index", "Controller", new { area = $("#txtName").val() }); Shows error...
Is there a way to call a javascript funtion and return the textbox value. If so then please let me know??How am I supposed to do that...
I am not an expert in javascript or ASP.NET...
My code in the layout/master page is as-
menu.Add().Text("text").Action("Index", "Controller", new { area = $("#txtName").val() }); Shows error...
Is there a way to call a javascript funtion and return the textbox value. If so then please let me know??How am I supposed to do that...
I am not an expert in javascript or ASP.NET...