I am a semi-newbie in ASP.NET MVC. I am creating an application that is used internally by my company.
The scenario is this: There are two Html.Listbox. One has all the information about the database, and the other is empty. The user will add items from the database list to the empty list.
Every time the user adds a command, I call the js function, which calls the ActionResult "AddCommand" in my EditController. In the controller, the selected items that have been added are saved in another database table.
Here is the code (it is called every time an element is added):
function Add (listbox) {...
// skipping initialization code for urgency
var url = "/ Edit / AddCommand /" + cmd;
$ after (URL).
}
, , "cmd" - , "/", ":", "%", "?" .. ( )
, ? , .
, , , , "/", " [SLASH] Dogs" , "/".
, , - . .