I having a variable data firstSelectedColumn.Name and I want to put quote mark, the code below throws a runtime error:
upRequested: function () {
selectedItems = this.requestedSelected;
firstSelectedColumn = selectedItems.shift();
//whats wrong here???????????
requestedSelected: ko.observableArray(['@firstSelectedColumn.Name']);
}
},
What is the correct syntax?
It’s not razor since this is only client side code and I see no server side code here which razor is used for.